Page 1 of 1

Using the PHP code generated my PHPmyAdmin

Posted: Mon Mar 08, 2004 12:00 am
by Steveo31
Not sure which version, came with easy PHP (the latest).

I create a database in PhpMyAdmin, and it has an option to give you the PHP code. To create a database it is

Code: Select all

$sql = 'CREATE DATABASE `user` ';
But how would I implement this? Using mysql_query($sql)?

Posted: Mon Mar 08, 2004 12:05 am
by markl999
Yes.

Posted: Mon Mar 08, 2004 12:38 am
by Steveo31
Thanks Mark, you da man.





You followin me? Good ;)