Jump to content


Photo

How to create a frontend for addind data into a table?


  • Please log in to reply
1 reply to this topic

#1 ghurty

ghurty
  • Members
  • PipPipPip
  • Advanced Member
  • 149 posts

Posted 13 September 2006 - 12:33 AM

Hi, I am new at this.
How would I go about creating a webpage that will be a front end for adding data into a table (mysql)?

Thankx

#2 AndyB

AndyB
  • Staff Alumni
  • Advanced Member
  • 5,465 posts
  • LocationToronto

Posted 13 September 2006 - 12:43 AM

Basically, make an html form that submits to a php script. The php script abstracts the form data sent (validate it as you see fit), makes a connection to the database, then creates a MySQL querystring with the posted data values, and executes the query to add the information to the database table you chose.

That's pointing you in the general direction.
Legend has it that reading the manual never killed anyone.
My site




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users