Thanks Gerry,
That worked perfect!

Keith

>
>This will give you more information, Keith:
>
><?php
>
>function    zippy( $msg, $file, $line, $errno, $error )
>{
>     echo "DB error $msg in $file on line $line <br>Error: $errno <br>Error
>Message: $error <br>" ;
>     die();
>}
>
>$db_host        = "localhost";
>$db_username    = "zzz";
>$db_password    = "secret";
>$db_name        = "danens";
>
>/////////////////////////////////////////////////////////////////////////////////
>
>//    connect to the database server and select a database
>$db_conn    = mysql_connect($db_host, $db_username, $db_password) or zippy(
>"CONNECT", __FILE__, __LINE__, mysql_errno(), mysql_error() );
>$db            = mysql_select_db($db_name, $db_conn);
>
>echo "OK";
>
>?>
>
--
Kamakaze Music
Keith Kehrer
Composer, Producer, Recording Engineer,
Sound Designer, Voice Over, Web Developer
505-553-8355
[EMAIL PROTECTED]
http://kamakazemusic.com
http://kamakazemusic.com/music/
http://kamakazemusic.com/projects.html
http://www.myspace.com/kamakazemusic

_________________________________________________________________
Don’t just search. Find. Check out the new MSN Search! 
http://search.msn.click-url.com/go/onm00200636ave/direct/01/



------------------------ Yahoo! Groups Sponsor --------------------~--> 
See what's inside the new Yahoo! Groups email.
http://us.click.yahoo.com/2pRQfA/bOaOAA/yQLSAA/CefplB/TM
--------------------------------------------------------------------~-> 

The php_mysql group is dedicated to learn more about the PHP/MySQL web database 
possibilities through group learning.  
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/php_mysql/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to