|
|
|
อยากได้ตารางเรียนค่ะ ตอนนี้แก้ error ไม่ได้ช่วยทีนะค่ะ |
|
|
|
|
|
|
|
Error ?
|
|
|
|
|
Date :
2012-02-16 20:39:58 |
By :
webmaster |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Code
no INSERT INTO 'time_table' ('tb_id', 'tb_subject', 'tb_time', 'tb_time_min', 'tb_time_max', 'tb_col', 'tb_week', 'tb_date', 'tb_setting', 'term_ids') VALUES (NULL, 'datacom', '14', '14', '16', '2', '1', '', '0', '');
|
|
|
|
|
Date :
2012-02-16 22:20:53 |
By :
rungjanjira |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
สร้าง Database รึยังครับ
database ตั้งชื่อว่า test
Code
Code
CREATE TABLE `time_table` (
`tb_id` int(10) unsigned zerofill NOT NULL auto_increment,
`tb_subject` varchar(255) NOT NULL,
`tb_time` varchar(2) NOT NULL,
`tb_time_min` varchar(2) NOT NULL,
`tb_time_max` varchar(2) NOT NULL,
`tb_col` varchar(2) NOT NULL,
`tb_week` varchar(1) NOT NULL,
`tb_date` date NOT NULL,
`tb_setting` varchar(1) NOT NULL,
`term_ids` int(10) unsigned zerofill NOT NULL,
PRIMARY KEY (`tb_id`),
KEY `term_ids` (`term_ids`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=90 ;
|
|
|
|
|
Date :
2012-02-16 22:28:16 |
By :
EucifeR |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Code (PHP)
mysql_query($strSQL) or die(mysql_error());
|
|
|
|
|
Date :
2012-02-18 11:37:19 |
By :
webmaster |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Load balance : Server 03
|