vwinstead Posted February 4, 2009 Share Posted February 4, 2009 I have a site that uses PHP to access the contents from a MySQL database. The visitor is able to edit the contents and the changes replace what is currently in the database. What is the best way to initially populate the database for a new page that has new page contents? What's the best interface to get my data into the database without just using the PHP interface and doing INSERT commands? What tool would I use for interacting with the database in an easy way to initially populate it? I don't think I have command-line support, but my host has phpMyAdmin available for database modification. And I have had good luck using MySQL administrator from my machine to log into the host database. Link to comment https://forums.phpfreaks.com/topic/143839-best-way-to-initially-populate-a-database/ Share on other sites More sharing options...
gevans Posted February 4, 2009 Share Posted February 4, 2009 what format is the content in currently? Link to comment https://forums.phpfreaks.com/topic/143839-best-way-to-initially-populate-a-database/#findComment-754773 Share on other sites More sharing options...
vwinstead Posted February 4, 2009 Author Share Posted February 4, 2009 what format is the content in currently? The content is just standard text format. I just need to figure out how to populate the initial value in the database of the database. Is it best to just use the INSERT command from a php section of code? Link to comment https://forums.phpfreaks.com/topic/143839-best-way-to-initially-populate-a-database/#findComment-754783 Share on other sites More sharing options...
gevans Posted February 4, 2009 Share Posted February 4, 2009 or use the insert command in phpmyadmin Link to comment https://forums.phpfreaks.com/topic/143839-best-way-to-initially-populate-a-database/#findComment-754814 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.