Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- $host="localhost";
- $userdb = "root";
- $passdb = "";
- $koneksi=mysql_connect($host,$userdb,$passdb);
- if ($koneksi) {
- mysql_create_db("namadatabase",$koneksi);
- echo "database berhasil dibuat";
- or die ("database gagal dibuat"); }
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement