C
|
cgphp 6/28/2011 |
Jack333, global $conn;
|
G
|
garethpDevClub member 6/28/2011 |
Hi global $conn; $str = "select sum(record) from por_details where grn = '".$values["grn"]."'"; $rs = db_query($str,$conn); $data = db_fetch_numarray($rs); IF ($data[0] == "") { $strUpdate = "update grn_header set supplier='BLANK' where grn = '".$values["grn"]."'"; db_exec($strUpdate,$conn); }
|