Jump to content


Photo

HELP ON Creating a php Database SQL to update through HTML forms


  • Please log in to reply
1 reply to this topic

#1 Paschal

Paschal

    Newbie

  • New Members
  • Pip
  • 1 posts

Posted 24 March 2013 - 04:18 PM

Hi friends,

I am actually new here and need help on how to create and update a database using simple html form.

 

i dont know how to create a database at all. And my system is running on WAMP Server, i need a help on how to create a database using phpMyAdmin Control Panel for MySQL.

 

I can design very well in html but i got no experience at all in database designing.

 

Please reply me if you can help me.

 

Thanks for your anticipated assistance.



#2 Azerex

Azerex

    Newbie

  • New Members
  • Pip
  • 9 posts

Posted 08 May 2014 - 02:02 AM

simply install mysql on your server/computer. Then  setup all the login information and all that(write it down). Now setup a pretty html form on the page and give all of the fields unique name attributes. Then create a submit button with it's own unique attribute. Then you can set the form method to post and the action to = #. Then from there you need to write the php script that will collect and organize the data and then send it. So the best way to do this is to make sure that you're name attributes are the same as the column names in the database that you create. If you get that far reply and I'll help you with the rest of the php code.


Edited by Azerex, 08 May 2014 - 02:03 AM.





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

Cheap Linux VPS from $5
SSD Storage, 30 day Guarantee
1 TB of BW, 100% Network Uptime

AlphaBit.com