I have Error the Syntax sql i have two data base and i used the query
$sqlinsert="insert into referent
(oldReferentId,genderReferent,firstnameReferent,lastnameReferent,
emailReferent,phoneReferent,faxReferent,type,adressReferent,
supportOrganization,zipCode,cityReferent,countryReferent,
mailAverti,blocked,published,validateRight)
VALUES
(".$tb_user['id'].",'NULL',".$tb_user['name'].",".$tb_user['username'].",".
$tb_user['email'].",'','',".$tb_user['usertype'].",'','s','z','c','cr','0',".
$tb_user['block'].",'0','0')
";
$test=@mysql_query($sqlinsert,$db1) or die( mysql_error() . "<br>$sqlinsert" );
i get Error the Syntax ,how can i resolved That
Thanks