hi , anyone please help me, i;m newbie.
i have custom button and i write in server this code:
$sql = "UPDATE quo SET total =(SELECT sum(harga_total_enduser) FROM quo_detail where concat_quo=".$record["concat_quo"].") where concat_quo=".$record["concat_quo"];
DB::Exec($sql);
note concat quo is varchar.
any suggestion to write the right code for .$record["concat_quo"] ?