How to fix the following SQL error?
1You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '`Sent`, `handler` varchar(20) NOT NULL, PRIMARY KEY (`id`) )' at line 5
Code:
$create_q = 'CREATE TABLE IF NOT EXISTS `'.$job_id.'`(
`id` int(11) NOT NULL auto_increment,
`mobile` bigint(20) NOT NULL,
`routeID` int(11) NOT NULL,
`status` varchar(20) NOT NULL default `Sent`, `handler` varchar(20) NOT NULL,
PRIMARY KEY (`id`)
) ';