Categories
CMS Mastering Development Wordpress

WordPress database 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 ‘ depart varchar(120) DEFAULT, staffn varchar(120) DEFAULT, ‘ at line 4] $charset_collate=$wpdb->get_charset_collate(); $sql="CREATE TABLE IF NOT EXISTS $table_name( id mediumint(9) NOT NULL AUTO_INCREMENT, time timestamp DEFAULT ‘0000-00-00 00:00:00’ DEFAULT, srollno […]