mysql connections
| From: | Grega Leskovsek | Date: | Mon, 01 Jun 2009 10:10:01 +0000 |
| Subject: | mysql connections | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-293409@lists.php.net to get a copy of this message | ||
how do I make a permanent connection to mysql database and what is
difference between mysql_connect() and permanent one?
If I make connections in one file and redirect it to another file do
I keep connection (permanent / standard)?
Do I lose connection only when I type mysql_close (permanent/ standard)?
if I select different database between the php program do I need to do
something extra along mysql_select_db("dbname",$link)?
If I opened db in another php file, where do I get the $link variable
from = mysql_connect (when selecting another database)?
Thanks in advance,
--
When the sun rises I receive and when it sets I forgive ->
http://users.skavt.net/~gleskovs/
All the Love, Grega Leskov'sek