[thelist] php form variables

Jason Morehead jmorehead at alphalincoln.com
Tue May 30 12:39:24 2000


alright... i could be way wrong on this (i'm fairly new to php), but 
something like this might work:

$button = document.form[0].imgbtn;

<?php
      if ($button) {
           do something
      } else {
           do something else
      }
?>

like i said, give it a shot... i know that when i've had to create 
variables inside javascript for specific form elements (pulldown 
menus, etc.), i did something similar and it worked.  php might be 
the same way.

hth...

jason

-- 
http://www.alphalincoln.com/
alphagraphics of nebraska - web services
201 n 14th - lincoln, ne 68508 - 402.475.0000