1
I am trying to get a new sequence ID generated and I believed the following code will do it but somehow the $newid always = 0 (I thin it should be 8 because in the table "DanhGia_Phebinh" I have 7 rows already.
$newid = $xoopsDB->genId($xoopsDB->prefix("DanhGia_Phebinh")."_phebinhid_seq");
Any help would be appreciated!
TVN