Hi again,
Thanks for your help, I can't find in the mysql manual the specs for creating a temporary table without giving it a name. The name parameter isn't shown as an optional parameter. I tried to create one without naming it and below is the input and output.
mysql_query("CREATE TEMPORARY TABLE (id INT(11), committee_id INT(11), fname VARCHAR(40), lname VARCHAR(40), index id(id))");
MYSQL ERROR:1064 You have an error in your SQL syntax near '(id INT(11), committee_id INT(11), fname VARCHAR(40), lname VARCHAR(40), index i' at line 1
What is the query command to create a temporary table without naming it, and how do you pull information from it later
(ie; SELECT * FROM TEMPORARY TABLE ?)
also, I have some pages that create more than one temporary table, what then?