[thelist] php form variables

Lez Lytollis Lez.Lytollis at ccr.ntu.ac.uk
Tue May 30 12:06:30 2000


Hi All,

Does anyone know if an image used as a submit button is referenced by php?

i.e. if I say
<input type="image" src="img1.gif" name="imgbtn">
can I reference it in a script like

<?
    if ($imgbtn) {
       // do something
   }
   else {
      // do something else
   }
?>

It doesn't seem to work, but I could just have messed up my script (like
usual)!

Cheers
Lez
--------------------------------------------
Lez Lytollis - Internet Developer
Computer Clothing Research Ltd.
http://www.ccr.ntu.ac.uk