Data Mahasiswa

“;
echo “

“;
echo “

NIM

“;
echo “

:

“;
echo “

$row[0]

“;
echo “

“;
$sql1 = “SELECT a.NMMHS,b.NMKOTA,a.TGLLAHIRMHS,a.ALMTMHS,a.email FROM mahasiswa a left join kota b on a.KOT2_KDKOTA=b.KDKOTA where a.NIM=’$row[0]’;”;
//echo $sql;

//echo “$sql1”;
if( !($result1 = mysql_query($sql1)) )
{
message_die(GENERAL_ERROR, ‘Could not query categories list’, ”, __LINE__, __FILE__, $sql);
}
else{
while( $rowd = mysql_fetch_row($result1) )
{
$nama=$rowd[0];
echo “

“;
echo “

Nama

“;
echo “

:

“;
echo “

$nama

“;
echo “

“;
echo “

“;
echo “

Tempat / Tgl Lahir

“;
echo “

:

“;
echo “

$rowd[1] / $rowd[2]

“;
echo “

“;
echo “

“;
echo “

Alamat

“;
echo “

:

“;
echo “

$rowd[3]

“;
echo “

“;
echo “

“;
echo “

Email

“;
echo “

:

“;
echo “

$rowd[4]

“;
echo “

“;
}

}
echo “

“;

// —————

}

}

}else
{
$sql_kbk=”SELECT DISTINCT(RIGHT(LEFT(NIM,4),2)) FROM mahasiswa where KDPRODI=2;”;
echo “Angkatan di Prodi Fisika antara lain :
“;
echo “

    “;
    if(!($resultkbk = mysql_query($sql_kbk)) )
    {
    message_die(GENERAL_ERROR, ‘Could not query categories list’, ”, __LINE__, __FILE__, $sql);
    }
    else
    {
    while( $rowkbk = mysql_fetch_row($resultkbk) )
    {
    echo “

  • “;
    echo “$rowkbk[0]“;
    echo “
  • “;
    }
    }
    echo “

“;

}
?>

en_USEnglish