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
Views: Raw Message | Whole Thread | Download mbox | Resend email
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

Browse pgsql-novice by date

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