/ Published in: PHP
![](/img/icon_sav.png?v3)
Use to connect to MySQL db. Use in a 'db_connect.inc' type file.
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
$host = localhost; $usr = 'user'; $pwd = 'pass'; #connect to database
Comments
![RSS Feed for Comments RSS Icon](/images/rss.png?v3)
$host = localhost; $usr = 'user'; $pwd = 'pass'; #connect to database