Sending data from html form to php to mysql
Posted: Fri May 02, 2008 2:00 pm
ok my code looks like this an i want to find the best way to go about adding a submit function that sends the data to i guess an array to be checked and then added to the database? can anyone point me in the right direction? thanks. Also, im super new to php and html and coding in general but this all doesn't have to be too dumbed down.
<div class="reg_form">
<div class="regFormn">Middle Name:</div>
<div class="regFormf"><input type="text" id="chef_namem" name="chef_namem" class="regInput" value=""/>
</div>
</div>
<div class="reg_form">
<div class="regFormn">Last Name:</div>
<div class="regFormf"><input type="text" id="chef_namel" name="chef_namel" class="regInput" value=""/>
</div>
</div>
OH its all Xhtml strict and this is for a registration page, i've read plenty books on the subject and theyve only helped so much. I'm running xampp with all default configurations so you know where i should put all the seperate files and stuff i need.
<div class="reg_form">
<div class="regFormn">Middle Name:</div>
<div class="regFormf"><input type="text" id="chef_namem" name="chef_namem" class="regInput" value=""/>
</div>
</div>
<div class="reg_form">
<div class="regFormn">Last Name:</div>
<div class="regFormf"><input type="text" id="chef_namel" name="chef_namel" class="regInput" value=""/>
</div>
</div>
OH its all Xhtml strict and this is for a registration page, i've read plenty books on the subject and theyve only helped so much. I'm running xampp with all default configurations so you know where i should put all the seperate files and stuff i need.