I've tried to create a mysql table using php but have not been successful. Can someone please give me a good example to follow? I tried this:
// Create MySQL database.
$link = mysql_pconnect($host, $user, $password);
mysql_select_db ($databaseName);
// Create Table.
mysql_query("CREATE TABLE $tableName(.....)");
but I keep getting a Table does not exist error. Any help appreciated. email me please.
Thanks,
Marcel.
// Create MySQL database.
$link = mysql_pconnect($host, $user, $password);
mysql_select_db ($databaseName);
// Create Table.
mysql_query("CREATE TABLE $tableName(.....)");
but I keep getting a Table does not exist error. Any help appreciated. email me please.
Thanks,
Marcel.