I have a very simple if statement and it doesn't work...the variable involved is called $full_size_product_image and it has two possible values "yes" or "no".
I am grabbing the value of the variable from the database before the if statement and it is printed out so there are no issues there.
if($full_size_product_image == 'yes')
{
execute some code to display the image/s
}
else (print that this feature isn't available);
It doesn't matter what the value is - yes or no - the if statement is being completely ignored.
Should I change the 'yes' and 'no' values currently stored for
this field to '1' and '0' ?
Would this fix the problem or am I doing something else wrong.