0

Hello Everyone,

I have to create a temporary table for basket. I have to include certain fields from different table.

Now I know the code to create a temporary table "CREATE TEMPORARY TABLE", is that right?

But I dont know how to choose different fields from different table. Let me specify that I only need to clues on how to proceed onto completing the task, as I am very new to PHP.

Thank You.

2
Contributors
2
Replies
24
Views
3 Years
Discussion Span
Last Post by Mohamed_26
2

Be careful. IIRC a temporary table is dropped once the connection is terminated. Since PHP scripts are stateless, the connection is terminated at the end of every script, thus removing the temporary table(s) associated with that connection.

0

umm...yh I am aware of that. Its just I am not sure on how to create one.. Thank you for mentioning that.

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.