cara membuat query

$strez=mysql_query("SELECT * FROM $tblnilai where nim='$nim' and id_smtr='$smtr[id_smtr]'")or die(mysql_error());

$ids=mysql_fetch_array($strez);
$kode=$ids['id_smtr'];

sama aja



$gabung2=mysql_fetch_array(mysql_query("SELECT * FROM mhs_magister where periode ='$gabung' order by nim desc limit 1"));

$nim=$gabung2['nim'];


Subscribe to receive free email updates:

0 Response to "cara membuat query"

Post a Comment