Jump to content

MsKazza

Members
  • Posts

    92
  • Joined

  • Last visited

Community Answers

  1. MsKazza's post in If mysql field = yes how to display image? was marked as the answer   
    <? if ($vTakeout=='y') {?>
    <img src="takeoutyes.jpg">
    <? } elseif ($vTakeout=='n') { ?>
    <img src="takeoutno.jpg">
    <? } ?> 
     
    I was missing ; from after the two images.
×
×
  • 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.