step 1) install XAMPP (or extract, whatever)
step 2) run XAMPP after installation (make sure it's running 100% or yung kulay ng server icon ay GREEN)
step 3) access PHPMYADMIN (either from the server icon or sa browser
You do not have permission to view the full content of this post.
Log in or register now.)
step 3.a) if it's new setup, usually there's no password set.
step 4) then pag na-access mo na ang PHPMYADMIN ui, you can create a database.
Here's how to access database sa HTML page mo
1) gawa ka ng basic HTML page (index.php for example)
2) then add mo ito sa pinaka taas ng page mo (before <html>)
<?php
DEFINE("HOSTNAME","localhost");
DEFINE("USERNAME","rootOrUserNaGinawaMo");
DEFINE("PASSWORD","passwordKungMeron");
DEFINE("DATABASE","pangalanNgDatabaseNaGinawaMo");
$connection=mysqli_connect(HOSTNAME,USERNAME,PASSWORD,DATABASE);
if(!$connection){
die ("<html><script language='JavaScript'>alert('Ops! Cannot connect with the server at this time. Please try again later.'),history.go(-1)</script></html>");
} else {
echo "Yehey! naka connect na ako sa database!";
}
?>
......then start pulling out the data from your database and use and abuse them...