i'm trying to make all my include files into functions for
manageability. I have one function that i'd like to get to work.....heres
teh code..
<?php
$db = mysql_pconnect("localhost", "user" ,"pass");
mysql_select_db("database",$db);
?>
i had it in a function and had the function return $db.....but didn't
work.....any ideas?
~kurth
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]