PHP Code:
CREATE TABLE `answers` (
`id` int(10) NOT NULL auto_increment PRIMARY KEY,
`questionid` int(10) NOT NULL ,
`answer` char(1) NOT NULL default '',
) ENGINE=MyISAM AUTO_INCREMENT=1 DEFAULT CHARSET=utf8;
CREATE TABLE `answers` (
`id` int(10) NOT NULL auto_increment PRIMARY KEY,
`questionid` int(10) NOT NULL ,
`answer` char(1) NOT NULL default '',
) ENGINE=MyISAM AUTO_INCREMENT=1 DEFAULT CHARSET=utf8;
CREATE TABLE `answers` (
`questionid` int(10) NOT NULL PRIMARY KEY,
`answer` char(1) NOT NULL default '',
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
Leave a comment: