PHP beginner | 
                 | 
                
				
				Ik heb niks veranderd bijna aan deze Query en ik krijg zomaar deze error 
 
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ''1','','w', now())' at line 3 
 
    
    
        
            
                
$sql = "INSERT INTO reactie 
             (topic_id,gebruiker_id,topic_cat,reactie_bericht,reactie_datumtijd)
VALUES(".trim($_POST['topic_id']).",'".$_SESSION['gebruiker_id']."','".trim($_POST['topic_cat'])."','".ubb($bericht)."', now())";
   $resultaat = mysql_query($sql) or die(mysql_error());
             
            $sql = "INSERT INTO reactie               (topic_id,gebruiker_id,topic_cat,reactie_bericht,reactie_datumtijd) VALUES(".trim($_POST['topic_id']).",'".$_SESSION['gebruiker_id']."','".trim($_POST['topic_cat'])."','".ubb ($bericht)."', now())";   
 
  
         
          
     
 				
				 |