forms/mysql
Posted by: mike (66.0.163.---)
Date: January 16, 2006 06:06AM

I am trying to pass variable information from a form to mysql.
The problem is that the database increments the index count but no data is getting to the variable in the php insert page.
for example in html ..<input type = "text" method = "post">
on the php side $name = $_post['name'];
the information does not get from form to php? I know this is light on the information but I have tried many examples from web and does not work. I know this is something incrediably simple and obvious. I am using wanpserver , current download and windows xp pro.

Options: ReplyQuote
Re: forms/mysql
Posted by: Vikram (---.telecomplus.net)
Date: January 16, 2006 11:45AM

May be you need to write $_POST['name'] instead of $_post['name']...

Options: ReplyQuote
Re: forms/mysql
Posted by: mike (66.0.163.---)
Date: January 17, 2006 05:48AM

Thank you for your help. Your hint sent me on the right direction. It solved my problem. I went back and upper cased all the words like TYPE, POST, REQUEST ect.

and used POST in the form and REQUEST in the formhandler page.

Thanks again
mike

Options: ReplyQuote


Sorry, only registered users may post in this forum.