Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ...config.php....
- <?php
- $db=Array("host"=>"localhost",
- "login"=>"admin",
- "pass"=>"qwerty",
- "db"=>"test",
- "charset"=>"utf8"
- );
- ...
- .....index.php....
- include "config.php";
- $mysqli = new mysqli($db["host"],$db["login"],$db["pass"],$db["db"]);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement