passing variables

brew@themode.com

From: brew@theMode.com
To: pgsql-novice@postgresql.org
Cc: hodges@xprt.net
Date: 2002-12-22T17:52:36Z
Lists: pgsql-novice
Tom......

> Hi <?php echo $_POST["name"]; ?>.
> You are <?php echo $_POST["age"]; ?> years old.
>
> >From the php documentation.  These are autoglobals.
>
> There is a $_GET also.

... and the $_REQUEST array covers both posts and gets, so it is more
secure to use either a $_GET or $_POST depending on your situation......

Note that in your earlier post this morning you didn't put the array
subscript in square brackets, i.e. $_REQUEST['func'] , you put it in
parentheses, i.e. $_REQUEST('func), which indicates a function call, not
an array subscript.

> > Fatal error: Call to undefined function:  () in
> > /var/www/html/php_lib_login_includes/ test_create_acct.php on line 2

It wasn't a joke.........

brew