Page 1 of 1

Creating a table from your local computer...???

Posted: Mon Mar 31, 2003 2:17 am
by Random
Hi, I would like to know a PHP script to create a table from your local computer, to the remote computer.

My friend said it was something like this:

$sql = CREATE TABLE domains (blah blah blah);
$exe = mysql_query( $sql );


it didn't work though, how doI do this? I do not have access to the computer, but I do have access to a database.

Posted: Mon Mar 31, 2003 2:56 am
by twigletmac
If you can connect to the database remotely then you can do things like this. Basically you have to be connected to the database in order to add tables to it so the first thing you should do is ask your remote server administrator if you can have remote access.

Mac