3
after a lil digging around, i found on a tutorial that for deleting something from the db its better to use
Quote:
$xoopsDB->queryF("DELETE FROM ".$xoopsDB->prefix("db_name")."
instead of
Quote:
$xoopsDB->query("DELETE FROM ".$xoopsDB->prefix("db_name")."
so i did that to my code and worked fine! Dont know why it didnt work in the first place, all of my other functions work fine like that! Anyway i post this here in case someone else faces the same problem...