Advertisement
Guest User

PHPF4You - MySQL Insert #2!

a guest
Feb 11th, 2016
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.50 KB | None | 0 0
  1. Code:
  2.  
  3. $inf_newtable[1] = PDS_BSTATUS_POSTEN." (
  4. pds_id INT(1) UNSIGNED NOT NULL AUTO_INCREMENT,
  5. pds_name VARCHAR(200) UNSIGNED NOT NULL,
  6. pds_desc VARCHAR(200) UNSIGNED NOT NULL,
  7. pds_activ ID(1) UNSIGNED NOT NULL default '0',
  8. PRIMARY KEY  (pds_id)
  9. ) ENGINE=MyISAM;";
  10.  
  11. Error Code:
  12.  
  13. 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 'UNSIGNED NOT NULL, pds_desc VARCHAR(200) UNSIGNED NOT NULL, pds_activ ID(1) UN' at line 3
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement