Jump to content

Mysql Database Creation


kelleydl

Recommended Posts

I understand that a database has to be created and then a table inside the database is created. I only want to create that database one time though, and not every time a new user visits the site. I want to have a form that sends information into the database, and then take ALL the information from the database and show it on the page. I believe I understand how all that works, but am I suppose to check if the database is created by using an IF ELSE statement or how does all this work? Or maybe my thought process is wrong, I'm not quite sure.

Link to comment
Share on other sites

I think you need an HTML web page which takes the data to be added to the table, and then send the information to a script which connects to the database and writes the information to the database. The same script uses echo in order to print back the results of the query.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...