Skip site navigation (1) Skip section navigation (2)

passing variables

From: brew(at)theMode(dot)com
To: pgsql-novice(at)postgresql(dot)org
Cc: hodges(at)xprt(dot)net
Subject: passing variables
Date: 2002-12-22 17:52:36
Message-ID: Pine.BSF.4.44.0212221228090.93712-100000@themode.com (view raw or flat)
Thread:
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





In response to

pgsql-novice by date

Next:From: HarryDate: 2002-12-22 21:59:26
Subject: Decrease in performance with 7.3/optimizing a query
Previous:From: hodgesDate: 2002-12-22 16:35:23
Subject: Re: passing variables

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group