Perintah View

Silahkan modifikasi script sebelumnya….

<?php

$no = 1;
$kd_jur = @$_POST[‘kd_jur’];
if($kd_jur==”)
{
$query = mysql_query(“select * from tb_mhs, tb_jurusan where tb_jurusan.kd_jur = tb_mhs.kd_jur”);
} else
{
$query = mysql_query(“select * from tb_mhs, tb_jurusan where tb_jurusan.kd_jur = tb_mhs.kd_jur and tb_mhs.kd_jur=’$kd_jur'”);
}

while ($data = mysql_fetch_array($query)) {
?>

One thought on “Perintah View”

Leave a Reply

Your email address will not be published. Required fields are marked *