$conn=mysql_connect ("localhost","root","");
if (!$conn){
echo "Error Koneksi";
}else {
mysql_select_db("sistem_kuliah",$conn);
$sql = "insert into mahasiswa (nim,nama)
values ('0925000', 'adi')";
mysql_query($sql,$conn);
echo " data insert 1 row";
}
Jumat, Februari 13, 2009
Langganan:
Posting Komentar (Atom)
Tidak ada komentar:
Posting Komentar