I am having problems with the code listed below, I keep having a parse error reported on the line pertaining to DROP TABLE. Am I missing something fundamental or is it a bigger problem? Any help is appreciated.
Nigel
___________________________________________________
<?
$db = mysql_connect("Server", "User", "Password"
mysql_select_db("Database", $db);
DROP TABLE IF EXISTS seedtmp1, $db;
?>
<?
$db = mysql_connect("Server", "User", "Password"
mysql_select_db("Database", $db);
CREATE TEMPORARY TABLE seedtmp1
SELECT Ttimes.TRN, Teams.Team, Ttimes.Fastest_Time, Venues.Date, Venues.Venue
FROM Teams
LEFT JOIN Ttimes ON Teams.TRN = Ttimes.TRN
LEFT JOIN Venues ON Ttimes.Tournament_ID = Venues.Tournament_ID
", $db);
?>
Nigel
___________________________________________________
<?
$db = mysql_connect("Server", "User", "Password"
mysql_select_db("Database", $db);
DROP TABLE IF EXISTS seedtmp1, $db;
?>
<?
$db = mysql_connect("Server", "User", "Password"
mysql_select_db("Database", $db);
CREATE TEMPORARY TABLE seedtmp1
SELECT Ttimes.TRN, Teams.Team, Ttimes.Fastest_Time, Venues.Date, Venues.Venue
FROM Teams
LEFT JOIN Ttimes ON Teams.TRN = Ttimes.TRN
LEFT JOIN Venues ON Ttimes.Tournament_ID = Venues.Tournament_ID
", $db);
?>