# Try doubling up the single quotes INSERT INTO table_name (field1, field2) VALUES (123, 'Hello there''s');