kelleydl Posted August 5, 2009 Share Posted August 5, 2009 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 More sharing options...
justsomeguy Posted August 5, 2009 Share Posted August 5, 2009 You generally do not need to create databases on the fly. Your entire application should be storing all of its tables in the same database. Link to comment Share on other sites More sharing options...
23.12.2012 Posted August 6, 2009 Share Posted August 6, 2009 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 More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.