Jump to content

gwood_25

Members
  • Posts

    27
  • Joined

  • Last visited

    Never

Everything posted by gwood_25

  1. Thank you so much. I changed to braces and still had a problem.... it was the semi colon. Thank you
  2. Hi, I am new to php and am having a problem with a simple if statement. I am loading a float value from a database and if it is greater than zero, I would like to ouput the value. If not, display nothing. Here is my code but it doesn't work.... <? ...database code above works...when I add the following if statement...the code fails if ($row{'Price'} > 0) { echo $row{'Price'} } ?>
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.