Jump to content

Best way to initially populate a database


vwinstead

Recommended Posts

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. 

 

 

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?

Archived

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

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.