Tuesday, April 21, 2009
Connecting to a db
$dbh=mysql_connect ("localhost", "username", "password") or die ('I cannot connect to the database because: ' . mysql_error());
mysql_select_db ("dbname");
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
Web Design & Marketing
- Click and get an instant quote on your project
No comments:
Post a Comment