Hi
Why this code doesn't work as expected (delete the record with Id=13)
I write this code OnSubmit after send emails.
I have one Chrono conectivity with a list of records and I'll create a form that deletes one of them. After deleting the record I want to be redirected to where I came from.
Thank you for your help
Why this code doesn't work as expected (delete the record with Id=13)
<?php
$db =& JFactory::getDBO();
$query = "DELETE FROM dt_brotero WHERE Id =13";
$db->setQuery($query);
$db->query();
?>
I write this code OnSubmit after send emails.
I have one Chrono conectivity with a list of records and I'll create a form that deletes one of them. After deleting the record I want to be redirected to where I came from.
Thank you for your help