Hi guys....ammm...I created a table in one function and then used it in another function. The temporary table is created this way:
$tmpTable = "tmpTable"; myCreateTable($intHandle,$tmpTable,$schoolYr,$semester); CREATE TEMPORARY TABLE $tmpTable type = heap SELECT Payment.No FROM (Payment INNER JOIN Othr ON Payment.Autokey = Othr.key)
I am passing the table name this way:
...using inner join to link it to another table.
SELECT Main.Gender FROM Main INNER JOIN $tmpTable ON Main.No = $tmpTable.No
now my problem is that the table did not exist...I couldn't figure it out whats going on with this when I've createdd the temporary table before hand but still it did not exist?