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:[EMAIL PROTECTED]
> Sent: 14 February 2004 7:32 pm
> To: [EMAIL PROTECTED]
> Subject: [PHP-WIN] 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

Reply via email to