Forum Moderators: coopster

Message Too Old, No Replies

from mysql to install.php

from mysql to install.php

         

fenomen

1:00 am on Sep 22, 2005 (gmt 0)

10+ Year Member



i created a php application. it uses mySql database. i want to create an install.php for users install my database easily.

i don't know database creating functions. for example (CREATE TABLE, INSERT INTO)

does PhpMyAdmin give me this code? or any program. or must i learn it and type with my hand?

mack

1:06 am on Sep 22, 2005 (gmt 0)

WebmasterWorld Administrator 10+ Year Member Top Contributors Of The Month



If you have the database already installed you can export the tables using phpmyadmin. This will only export the tables with no data but if it is for use with an installer then this is probably what you want.

Mack.

fenomen

1:18 am on Sep 22, 2005 (gmt 0)

10+ Year Member



yes, i have a database.

PhpMyAdmin gives me a SQL file. and it hasn't any code for create db or table. i want to PhpMyAdmin gives me creating functions.

mack

2:37 pm on Sep 22, 2005 (gmt 0)

WebmasterWorld Administrator 10+ Year Member Top Contributors Of The Month



The SQl dump is provides can be excecuted to set up the DB.

Mack.