Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- // define our new class variable
- $obj = new dw_cms();
- // setup our database connection variables
- $obj->host = 'localhost';
- $obj->username = 'root';
- $obj->password = 'password';
- $obj->db = 'dwcms';
- // connect to our db
- $obj->connect();
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement