$_REQUEST["fieldName"] (there are also $_GET and $_POST, but $_REQUEST works with both of them, although, with cookies and env vars as well)...
-- // DvDmanDT MSN: [EMAIL PROTECTED] Mail: [EMAIL PROTECTED] "Seth Willits" <[EMAIL PROTECTED]> skrev i meddelandet news:[EMAIL PROTECTED] > This might be staring straight at me, but I can't seem to figure out > how to reference form parameters in php code. For example: > > > <?php > if ($formName["fieldName"] == "this") { > // do this > } else { > // do that > } > ?> > > > Thanks, > > > Seth Willits > ------------------------------------------------------------------------ > --- > President and Head Developer of Freak Software - http://www.freaksw.com > Q&A Columnist for REALbasic Developer Magazine - > http://www.rbdeveloper.com > Webmaster for REALbasic Game Central - http://www.freaksw.com/rbgames > > "There are 10 types of people in this world - those that understand > binary > and those that don't." > ------------------------------------------------------------------------ > --- -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php