Im trying to delete a mysql file using php here is the code once delete is pressed nothing happens any ideas?
delete.php
<?php
include("db.php");
$id =$_REQUEST['PlayerID'];
// sending query
mysql_query("DELETE FROM Player WHERE PlayerID = '$id'")
or die(mysql_error());
header("Location: usersOnline.php");
?>
calling it here from separate file
echo"<td><font face = 'Verdana' size = '3' color='black'> <a href ='del.php?Player=$id'><center>Delete</center></a>";