RE: problems with variables

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

 



Ciro,

Tyr reading your variable as $_POST['first_name'] and see if that works.

That's the default way of passing form and url variables in PHP.

If you would rather do it the 'old' way (not recommended), open your php.ini
file and check the 'register globals' to 'on'.

George Oxford/Edinburgh

> -----Original Message-----
> From: Ciro [mailto:cirollo@xxxxxxxxx]
> Sent: 14 February 2004 7:32 pm
> To: php-windows@xxxxxxxxxxxxx
> Subject:  problems with variables
>
>
> hi guys!
>
> I've the following problem:
>
> i have an html form which sends data to a php page.
>
> the problem is that in this php page i've the results in this way:
>
> Name (label) $first_name (instead of the value is printed the name of the
> variable)
>
> why?? could you help me??
>
> regards
>
> ciro from italy
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>

-- 
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