convertion php4 code to php5
-
Hi php5 expert,
anybody can help me how to write this code in php5?function isi_keranjang(){
$isikeranjang = array();
$sid = session_id();
$sql = mysql_query(“SELECT * FROM keranjang WHERE id_session=’$sid'”);while ($r=mysql_fetch_array($sql)) {
$isikeranjang[] = $r;
}
return $isikeranjang;
}$tgl_skrg = date(“Ymd”);
$isikeranjang = isi_keranjang();
$jml = count($isikeranjang);Thanks
The blog I need help with is: (visible only to logged in users)
- The topic ‘convertion php4 code to php5’ is closed to new replies.