<分区>
我遇到一个来自 MySQL 查询的语法错误,这让我有点困惑。据我在网上看到的,这似乎是正确的工作方式,我确信我的表名和变量是正确的。
这是我收到的错误;
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 'AND `date` = ORDER BY 'scriptno' ASC' at line 3`
这似乎是问题所在的代码[但据我所知,这不是...
$data = mysql_query("SELECT script FROM `tableoscripts` WHERE `event` = $_GET[$eventq] AND `date` = $_GET[$dateq] ORDER BY 'scriptno' ASC") or die ('Error: '.mysql_error ());
如果您想知道上一页是使用 get 方法转到这一页,并且详细信息在提交后显示在地址栏中。