Ug, I hate Mondays.  <stretches> must drink more coffee.</stretches>

Anyway, got a problem I hope someone can help with or at least jumpstart my 
brain.

I wrote a few web pages, work fine on my machine.  Uploaded them on Friday 
and they don't seem to work.  Looks like I am not connecting to the 
database because every page I look at seems to end when it is suppose to 
connect.

//******************************************************************
function ConnOpen($CheckForError)
{


 
        @ $db = mysql_pconnect("webserver", "username", "password");
                if (!$db)
                {
                $CheckForError= "Error: Could not connect to database.  Ple
ase try again later.";
                return $CheckForError;
                exit;
                }
        mysql_select_db("database");



}
//******************************************************************

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

Reply via email to