I tried to insert the the record into database but i dont know where went wrong, i have been looking through the code for many times but can't find the error. Please take note that field can be null in the database. Thank you. Query Failed:INSERT into freights set id='107f5004-4b8a-b480-5ed7-455acab5b50c', name='Freight Analysis', date_entered='20061115160537', date_modified='20061115160537', modified_user_id='f29bcbdf-6f4e-5979-8867-44f3a332b364', assigned_user_id='f29bcbdf-6f4e-5979-8867-44f3a332b364', date_implemented='', date_reported='2006', parent_type='Accounts', parent_id='', parent_name='', from='Singapore', to='', weight='', inco_term='FOB', forwarder='', rate='', security='', fuel='', other='', misc='', local_handling='', currency='US Dollar', total=''::MySQL error 1064: 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 'from='Singapore', to='', weight='', inco_term='FOB', forwarder=