当我试图在我的div id = four_sprint上应用CSS时,它不起作用
HTML代码:
<div class="select">
<div id="four_sprint">
<a href="four_sprint\index.php" style="text-decoration:none;">Show 4sprint</a>
</div>
</div>
Run Code Online (Sandbox Code Playgroud)
当我在HTML代码中的样式属性中应用CSS时,它可以正常工作
CSS代码:
#four_sprint{
cursor:pointer;
text-decoration:none;
color:black;
}
#four_sprint:hover{
color:orange;
}
Run Code Online (Sandbox Code Playgroud)
class ="select"有效但不是div id ="
有没有办法让我保存我的价值观 SELECT语句返回到 SQL 中的变量中?
这就是我想要做的,首先我SELECT想检查我想检查的所有列,所以在这种情况下ItemNames是ItemCategory美国的项目。
SELECT `ItemName` where `ItemCategory´= 'US'
Run Code Online (Sandbox Code Playgroud)
然后我想将ItemName上面的语句保存到 SQL 中的一个变量中,以便稍后在同一个查询中使用它。像这样:
SELECT `DatabaseID` where `Project` NOT LIKE `myVariable`
Run Code Online (Sandbox Code Playgroud)
谢谢你的问候