Jump to content

Mysql Database Creation


kelleydl
 Share

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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...