Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

A little php display help


ComicWisdom

Recommended Posts

Posted

I am trying to debug a program. I have this function call

 

if (tep_count_storelocation_modules() > 0)

 

How can I display the "tep_count_storelocation_modules" on the screen so that I can check if they are being counted correctly?

Just between us, remember there are only 10 kinds of people in the world; those who understand binary and those who don't!!

 

Remember, learning is a "do-it-yourself" experience; although, not necessarily a "do-it-BY-yourself" experience.

 

The quickest way to learn is to forget to BACKUP!

Posted

echo '<p>';

print_r(tep_count_storelocation_modules());

echo '</p>';

Please use the forums for support! I am happy to help you here, but I am unable to offer free technical support over instant messenger or e-mail.

Posted

Thank you.

 

That gave me the number "3" which is exactly what I wanted. Now I just have to figure out why the ?@$#% doesn't display the names of the modules on the screen.

 

Back to the drawing board!

 

Thank you BIG help :D

Just between us, remember there are only 10 kinds of people in the world; those who understand binary and those who don't!!

 

Remember, learning is a "do-it-yourself" experience; although, not necessarily a "do-it-BY-yourself" experience.

 

The quickest way to learn is to forget to BACKUP!

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...