For some reason my if($_get isnt working. I dont know why. Can you take a look and see if my code is correct?
if($_GET["cmd"]=="delete")
{
$sql = "DELETE FROM `blah` WHERE `id`='$id'";
$result = mysql_query($sql) or die(mysql_error());
$location = "Location:http://www.domain.com";
header($location);
}
Anyone know any good tuts on this kinda stuff also? I cant find any... thanks









Bookmarks