mysql connections

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux