Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

What does !='0' mean?


bobsi18

Recommended Posts

Posted

I'm trying to modify my product_info page, so that if there is an attribute that changes the price, the price isn't displayed in the top right. I have just dound this code:

 

if ($products_attribs_array['options_values_price'] != '0') {

 

(line 252 of my code), and am wondering what !='0' means? I'm thinking 'does not equal'? Is this right?

 

Any help appreciated.

~Barbara~

Posted
I'm trying to modify my product_info page, so that if there is an attribute that changes the price, the price isn't displayed in the top right. I have just dound this code:

 

if ($products_attribs_array['options_values_price'] != '0') {

 

(line 252 of my code), and am wondering what !='0' means? I'm thinking 'does not equal'? Is this right?

 

Any help appreciated.

~Barbara~

Barbara,

 

You're correct != means not equal.

 

ed

Archived

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

×
×
  • Create New...