Re: [PHP] $_POST is empty , but were are the variables posted??
On Thu, 2009-12-17 at 13:30 -0800, Steve wrote: > On 12/17/2009 1:21 PM, gato chlr wrote: > > 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 > > > > name : > > > > > > > > //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 > > > > > You need to name your field with name="myname" > > //form.php > > name : > > > > The id attribute is used to attach the element to a or to interact with it with CSS or Javascript. Thanks, Ash http://www.ashleysheridan.co.uk
Re: [PHP] $_POST is empty , but were are the variables posted??
THANKS A LOT!!! to every one!!! . it works. 2009/12/17 Joseph Thayne > 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 > > name : > > > > //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 > >
Re: [PHP] $_POST is empty , but were are the variables posted??
On 12/17/2009 1:21 PM, gato chlr wrote: 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 name : //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 You need to name your field with name="myname" //form.php name : -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[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 name : //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