[PHP/MySQL]Where am I wrong?

Ok here is the code I have so far, or atleast parts of it, I am not sure where I am going wrong, any help would be nice.


<?php
mysql_connect('host','username','password);
@mysql_select_db('database') or die( "Unable to select database");
$maindata=$_POST['mc'];
$aboutdata=$_POST['ac'];
$catdata=$_POST['cc'];
$spondata=$_POST['sc'];
$querymain = "UPDATE `data` SET `content` = '$maindata', `postdate` = \'2006-12-16 02:41:23\' WHERE `id` = 1 LIMIT 1;";
$queryabout = "UPDATE `data` SET `content` = '$aboutdata', `postdate` = \'2006-12-16 02:41:23\' WHERE `id` = 2 LIMIT 1;";
$querycat = "UPDATE `data` SET `content` = '$catdata', `postdate` = \'2006-12-16 02:41:23\' WHERE `id` = 3 LIMIT 1;";
$queryspon = "UPDATE `data` SET `content` = '$spondata', `postdate` = \'2006-12-16 02:41:23\' WHERE `id` = 4 LIMIT 1;";
mysql_query($querymain);
mysql_query($queryabout);
mysql_query($querycat);
mysql_query($queryspon);
mysql_close();
?>

I have have changed the username, host, password and database name for security other than that thats basically the main code, any ideas?