Revision: 4283
Initial Code
Initial URL
Initial Description
Initial Title
Initial Tags
Initial Language
at November 21, 2007 20:10 by jalsing
Initial Code
$host = localhost; $usr = 'user'; $pwd = 'pass'; #connect to database $cid = mysql_connect($host,$usr,$pwd); if (!$cid) { echo("ERROR: " . mysql_error() . "\n"); }
Initial URL
Initial Description
Use to connect to MySQL db. Use in a 'db_connect.inc' type file.
Initial Title
MySQL DB Connect
Initial Tags
Initial Language
PHP