// assuming that all variables have values
$query = "INSERT INTO tblosfdtl VALUES (
$available_id,".$this->so_no.",$itemcode,$formatid,$qty,$sel_price,
$discount,$amount,0,'".date("m/d/Y")."','')";
Please don't ask your question in two different forums. I've deleted your post in PHP - Code since you have a reply to this copy and since it probably belongs here.
Last edited by nigma on Mon Jun 20, 2005 12:54 pm, edited 1 time in total.