1
I am writing a module and need to have the user delete records in the database.
I created a link to a function to delete the record.
I checked the generated sql to delete the record.
my code is
$sql = "DELETE FROM ".$xoopsDB->prefix("weddingadminsupplier")." WHERE code='".$code."'" ;
if ($xoopsDB->query($sql))
etc....
The following error is generated.
Database update not allowed during processing of a GET request
Any ideas as to what I am doing wrong.
TIA
Farley