THANKS A LOT!!! to every one!!! . it works.

2009/12/17 Joseph Thayne <webad...@thaynefam.org>

> Give your input a name. (i.e.  name="myname")
>
> -----Original Message-----
> From: gato chlr [mailto:dany...@gmail.com]
> Sent: Thursday, December 17, 2009 3:22 PM
> To: php-general@lists.php.net
> Subject: [PHP] $_POST is empty , but were are the variables posted??
>
> Hi,
> sorry for ask this again, but i really can't solve it.
> It must be easy but i can't find the solution
>
> this is my code:
> //form.php
> <form id='form1' action="mail.php" method="POST" >
> name : </td><td><input id="myname" type="text">
> <input type="submit" value="enviar">
> </form>
>
> //and this is the mail.php
> $name          = $_POST["myname"];
> var_dump($name);
>
> and the result is:
> NULL
>
> i'm using php 5, i don'd know what is wrong and i have readed a lot of
> blogs
> and forums, there is a lot of people with this problem , but i have not
> found a solution. thanks for the help
>
>

Reply via email to