check coding
Posted: Wed May 12, 2004 1:43 am
can check for me, whether the following coding correct??
$sql = "insert into orderlist (SCID ,productID ,userID ,SCDate ,price ,quantity ,SCPrice)
values ('NULL','$proI[$id]','$username','$todate',$price,$quantity,$total)";
$result = mysql_query($sql, $db);
$sql = "insert into orderlist (SCID ,productID ,userID ,SCDate ,price ,quantity ,SCPrice)
values ('NULL','$proI[$id]','$username','$todate',$price,$quantity,$total)";
$result = mysql_query($sql, $db);