create db in php script

A

Anonymous

Guest
Hey guys,

I got a question. I want to create a database with tables and so on in my php script ... is it possible? I have only found information about inserting a table and so on, but couldn't figure out how to do add a new database.

mysql_query("CREATE DATABASE db_name") didn't work .... nothing happened when I had that line in my script.

I would be happy if somebody could help....Thank you very much.


-Eddie
 
it's always good to be able to ask! Thanks very much :-?
 
Back
Top