Hi,
I know this issue might have been brought up way too many times, but I have tried most solutions posted, but to no avail.
I have a form that allows users to update information in the database. The following php codes are placed in "On Submit code - after":
These codes have been simplified. I have included codes to throw me error messages, but no error messages are thrown and the table is simply not getting updated.
I tried another solution, which was to delete and re-insert the whole row of data again. Inserting was not an issue (it had never been), but the same problem occurs when I try to delete. The row of data is not deleted and no error message are thrown.
Any help will be greatly appreciated!
Eric
I know this issue might have been brought up way too many times, but I have tried most solutions posted, but to no avail.
I have a form that allows users to update information in the database. The following php codes are placed in "On Submit code - after":
$sql = "UPDATE #__events SET organiser='$_POST[organiser]' WHERE name='$select';";
$database->setQuery($sql);
$database->query();
These codes have been simplified. I have included codes to throw me error messages, but no error messages are thrown and the table is simply not getting updated.
I tried another solution, which was to delete and re-insert the whole row of data again. Inserting was not an issue (it had never been), but the same problem occurs when I try to delete. The row of data is not deleted and no error message are thrown.
Any help will be greatly appreciated!
Eric