Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Conflicting instructions...which is it???


leedie

Recommended Posts

Ahhh -- I see my confusion now...which is correct -- putting the // before or after "php" ?

 

Here is one posting I followed:

<td class="main"><?php echo TEXT_CURRENT_REVIEWS . ' ' . $reviews['count']; ?></td>

to

<td class="main"><?php //echo TEXT_CURRENT_REVIEWS . ' ' . $reviews['count']; ?></td>

---------

Here is the other:

<td class="main"><?php echo '<a href="' . tep_href_link

 

and change it to:

 

<td class="main"><?//php echo '<a href="' . tep_href_link

 

-------

 

which is it? and does that go for all placement of // -- one posting said to put it in front of 'require' -- but I see that onr can put it in front of 'include' to not include -- correct?

Link to comment
Share on other sites

Ahhh -- I see my confusion now...which is correct -- putting the // before or after "php" ?

It has to be AFTER the php example:

<?php // code to not run here ?>

be sure to have a space between php and //

My Contributions

 

Stylesheet With Descriptions Glassy Grey Boxtops Our Products Meta Tags On The Fly

Password Protect Admin

"No matter where you go....There you are" - Buccaroo Bonsai

Link to comment
Share on other sites

...and a space after //? Can't thank you enough for reply...I just can't get rid of those reviews...driving me crazy :'( . Even tho' I can't access anything review...I see "who's online" that those pages are still being accessed -- is it in the visitors cache? THANK YOU Bill...tons + tons...-Alida

Link to comment
Share on other sites

...and a space after //? Can't thank you enough for reply...I just can't get rid of those reviews...driving me crazy :'( . Even tho' I can't access anything review...I see "who's online" that those pages are still being accessed -- is it in the visitors cache? THANK YOU Bill...tons + tons...-Alida

 

 

all fixed...Thanks again. :D

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...