Inserting data in the database
Posted: Fri Oct 12, 2007 10:31 pm
Hi Guys,
Please i am in need of great help. I have an html form which have drop down menu, checkboxes, textfields, etc.. I have a php script also which does all the processing just one php file which takes the variables and then insert it in the database. I have 2 buttons in my form reset and submit. for some reason after entring all the fields and clicking on submit i recieve a blank page. When i check my database nothing is updated. whats the problem? I have a php file which includes 2 more files header and footer files. and i am using this action attribue
Please tell me if i am doing the right thing. I am using easy php and both of my html files and php file is in www folder. why is it not updating the database? The file is huge thats why i am not posting.
Please i am in need of great help. I have an html form which have drop down menu, checkboxes, textfields, etc.. I have a php script also which does all the processing just one php file which takes the variables and then insert it in the database. I have 2 buttons in my form reset and submit. for some reason after entring all the fields and clicking on submit i recieve a blank page. When i check my database nothing is updated. whats the problem? I have a php file which includes 2 more files header and footer files. and i am using this action attribue
Code: Select all
<body>
<form action="http://localhost/login1.php" method = "post" >
.
.
.
<input type = "reset">
<input type = "SUBMIT">