hi...

if i create a site that hits a back mysql db...

i don't want to do a mysql_connect for every page that has to access the db.
so the question is where should the mysql_connect occur. also, if i were to
do it once when the app starts, is the connection more or less maintained
throught the life of the app.

an additional question. the resource identifier is required to initiate a
given php mysql function. i would assume that the resource identifier should
probably be stored in some session var....

searching mysql/php/google didn't result in clarfification for these
issues...

comments/criticisms/thoughts are welcome...

thanks

-bruce

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

Reply via email to