Re: Global Variables and Form Variables

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 2004-01-12 at 15:43, Jim MacDiarmid wrote:
> For some reason, the first time I attempt to access a form variable or
> global variable PHP does not seem to think it's defined.  For each one
> that shows an "undefined" error, I've had to put the following code at
> the beginning of the script. Should I have to do this?

As far as my knowledge go - which does not go that long at all - all I
did was installing php and (POST'ed) FORM variables worked just fine
with me.

How do you try to retrieve FORM variables? Do you do something like:


    $MyPostedVar = $_POST['MyPostedVar'];

-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [PHP Database Programming]     [PHP Install]     [Kernel Newbies]     [Yosemite Forum]     [PHP Books]

  Powered by Linux