try it this way:
$sn = mysql_real_escape_string($_POST['SiteNumber']);
mysql_query("DELETE FROM UserSites WHERE SiteNumber=".$sn);
JRM
Practically a Master Poster
621 posts since Nov 2006
Reputation Points: 130
Solved Threads: 75
try;
mysql_query("DELETE * FROM UserSites WHERE SiteNumber=".$sn);
JRM
Practically a Master Poster
621 posts since Nov 2006
Reputation Points: 130
Solved Threads: 75
*sigh* Read the FAQ at the top of the PHP forum
ShawnCplus
Code Monkey
1,583 posts since Apr 2005
Reputation Points: 526
Solved Threads: 268