passing variables - Mailing list pgsql-novice

From brew@theMode.com
Subject passing variables
Date
Msg-id Pine.BSF.4.44.0212221228090.93712-100000@themode.com
Whole thread Raw
In response to Re: passing variables  (hodges@xprt.net)
List 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





pgsql-novice by date:

Previous
From: hodges@xprt.net
Date:
Subject: Re: passing variables
Next
From: Harry
Date:
Subject: Decrease in performance with 7.3/optimizing a query