Page 1 of 1

How do I access to a Temporary Table in PHP?

Posted: Wed May 18, 2005 11:05 am
by paolo
Hello,
I've just created a temporary table into a php function, using the sintax

Code: Select all

$query = "CREATE TEMPORARY TABLE temp_res ( ....data...long.....)
and the

Code: Select all

mysql_query
returns true, so I think it's ok, how do I return to the main page the value of table? should I only pass the name when accessing to it? in that case temp_res or I've to take care of something particular? I'm used to code in C, so what I mean is "I've not got an object as return, how do I access to it?"
Thanks
Paolo