Can someone explain me how does PHP interacts with MySQL. I want to know when I make queries using mysql_query when the connection is closed. Or should I use mysql_close()…
I thought that the connection is open while the page is being interpret and closes when it’s done with interpreting.
The connection remains open from the
mysql_connectcall until either:mysql_closeis called$db = mysql_connect...) is unset (withunset, or falls out of scope)