Well if I understand correctly it states that there is error on evaled code on line 13 🙂
Parse error: syntax error, unexpected $end in index.inc.php(40) : [B]eval()'d code on line 13[/B]
If it is line 13, it must be referring to the sql query($q). I really dont use eval much so I dont know if there are limitations or something else because I dont see an error there also. Usually that error means that you have left out quote or something like that. And man, you are trusting $_REQUEST straight in your query. BAAAAD BOY! :glare:
Try to do the query different way(and a little bit safer):
$q = sprintf("DELETE FROM `catalog` WHERE `bh_id` = %d",
mysql_real_escape_string($bhid)
);
(I'm quessing that bh_id is always numerical so I left out quotes and used %d in the sprintf)