Questions | Login

Top / PHP / MySQL

How do I connect the form on my website to my database?

demo 18 Dec 2008 08:26am
How do I connect the form I created on my website to my database? I have mysql databases with my hosting company. I need to know how to connect my form on my website to the database. I know it has to do with php code.. does anyone know?
The form is very simple: It just takes a customers information. Name, Shipping Address, Billing Address, Etc. Thanks for your help.

Answers

demo 18 Dec 2008 08:41am
Yes, you have to write a script to insert the data into your data tables. Then you would also probably write one to view your data. There are free scripts and tutorials available on the web, but the learning curve may be steep for you if you have never done any programming before. Everything will have to be customized for your needs.
demo 18 Dec 2008 08:44am
Angela gives a very good answer. Can you tell us what the form does and maybe i could offer a demo with some code?

www.phpeasystep.com is another good website however learn the basics through w3school first!

good luck
demo 18 Dec 2008 08:54am
It dispends on what your using to make your website. If your just using html then I'm not sure but if your using an online website maker see if they have one available or if your using a CMS website builder (Like Joomla or Mambo) go and see if there is one available on the web. You could also search google for some help if all fails. Hope this helps.

Related

Submit Answer

You must be logged in to post an answer. Please Login or Register.

Powered by phpMyAnswers.