Hello, help please, there is a table of messages_group
it looks like this:
user_one int(11) NOT NULL, user_two int(11) NOT NULL hash int(11) NOT NULL
There is a button to delete
<a href='?act=delete2&ps_id=<?=$hash?>'> <img src="background/trash.png" class="hrefff"></a>
And the delete function itself
<?php if ($act == 'delete2') { mysql_query("DELETE FROM `message_group` WHERE `hash`='$hash' LIMIT 1"); } ?>
That is why the record is not deleted, what is the error? please correct.