我希望我的网站在搜索引擎中被编入索引,除了少数子目录.以下是我的robots.txt设置:
robots.txt 在根目录中
User-agent: *
Allow: /
Run Code Online (Sandbox Code Playgroud)
robots.txt在子目录中分开(要排除)
User-agent: *
Disallow: /
Run Code Online (Sandbox Code Playgroud)
它是正确的方式还是根目录规则将覆盖子目录规则?
MySQL查询:
$sSix = "SELECT count(*) as count FROM `timers` WHERE `real_id` = {$row['real_id']}";
$rSix = mysql_query($sSix, $conn2);
echo mysql_error(); die;
Run Code Online (Sandbox Code Playgroud)
结果:'where子句'中的未知列'985_1445542200'
列名是real_id结果显示列'985_1445542200'.
你能告诉我可能的错误原因吗?
helloWorld()执行dragTrack()功能后需要运行.但是helloWorld之后没有被召唤dragTrack.
dragTrack(function(){
helloWorld();
});
function dragTrack() {
alert('first');
}
function helloWorld() {
alert('second');
}
Run Code Online (Sandbox Code Playgroud)