Hi am trying to delete a row from a mysql database and can't work out why it is not working.
Here is the code
$link = mysql_connect('', '', '') or die('Could not connect: ' . mysql_error());
mysql_select_db('') or die(mysql_error());
mysql_query("DELETE FROM gigs WHERE gigname='".$name."'");
mysql_close($link);
The $link is working, and $name is taken from url, do I need a $name=£_GET['name'] as I tried that but it didn't work.
Any help very appreciated.