depends on whether or not you post or get
then you use
$_POST["varname"]
or
$_GET["varname"]
hope this helps
----- Original Message -----
From: "Seth Willits" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, August 29, 2003 11:00 AM
Subject: [PHP] Form Parameters
> 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
>
>
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php