i know that there are a lot of topics on this side regarding my problem but it seems that i'm missing something when i do it:
the code is below :
mysql_select_db("person");
$query = "SELECT * FROM email WHERE email='$_POST[email]' AND cc='$_POST[zip]";
$rs = mysql_query($query) or die(mysql_error());
if(mysql_num_rows($rs)>=1){ echo "blablabla"; } else {
$sql="INSERT INTO `email` (`email`, `cc`),
VALUES
(`$_POST[email]`, `$_POST[zip]`)";
mysql_query($sql);
echo "blablabla";
this is the error i get on page: "You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ''' at line 1"
thanks