Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- #connect to DB
- $db = new mysqli('localhost', 'username', 'password', 'database name');
- if($db->connect_errno > 0){
- die('Unable to connect to database [' . $db->connect_error . ']');
- }
- else{
- echo "this is work or what bitch";
- }
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement