Hrmm.. the only hack I could see for this would be the following:
$dbh = mysql_connect('localhost','user','pw');
$res = mysql_query('SELECT * FROM myTable');
if (mysql_errno() > 0) { # If there is an error, we will assume the table doesn't exist
mysql_query("CREATE TABLE myTable (etc etc)");
}
mysql_query("INSERT INTO myTable VALUES (1, 2, 3)");
That should do it..
Chris