Jump to content

toasty525

New Members
  • Posts

    3
  • Joined

  • Last visited

    Never

Everything posted by toasty525

  1. Hi, is it posible to nest simple java script in a PHP IF statment for example i have the following code: if ($row == 0) { ?> <SCRIPT language="JavaScript"> alert('Sorry not this time, Please try again !'); </SCRIPT> <? } else { echo $row['prize']; } When $row = 0 its meant to show an alert box but it dosnt work.
×
×
  • 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.