Tips, Trick, Mengatasi Masalah Komputer, Membina Website & Programming

HTML + Javascript : Make Button As Link / Jadikan Button Sebagai Link


<button onclick="window.location.href='/page2'">Continue</button>

Atasi Masalah Windows Tidak Boleh Boot

Masalah :

Message : 
Drive 0x80(LBA): C/H/S=1024/255/63. Sectir Ciybt/Size

****

Options if your HDD is larger than 1TB :
* Move your boot files to a smaller partition at the start of the HDD.....
*Format the HDD and allow Windows 7 to create a 100MB boot partition
*Shrink and move your partitions with GParted.

Press any key to read more...

Cara atasi Masalah :
1. Boot DVD Installer Windows 7 dan pilih "Repair Your Computer.."
2. Pada pilihan System Recovery. Pilih "Command Prompt"
3. Seterusnya tulis commands seperti berikut :
     bootrec.exe /FixMbr
     bootrec.exe /FixBoot

PHP Code : Connection File

<?php
# FileName="Connection_php_mysql.htm"
# Type="MYSQL"
# HTTP="true"
$hostname_connect = "localhost";
$database_connect = "database_name";
$username_connect = "root";
$password_connect = "";
$connect = mysql_pconnect($hostname_connect, $username_connect, $password_connect) or trigger_error(mysql_error(),E_USER_ERROR); 
?>