纯php打造的tab选项卡效果代码(不用js)_php实例
冬静姑娘_8834
发布时间:2016-05-17 09:22:11
|
1075人浏览过
|
来源于php中文网
原创
1.根据get判断,获取get生成css
2.点击的时候,就可以打开链接
- 北京
include_once ("config/db.inc.php");
$recuit_city_select = "select * from cdb_plugins_city where city_id in(13,14,15,16)";
$recuit_city_query = mysql_query ( $recuit_city_select );
while ( $recuit_city_row = mysql_fetch_assoc ( $recuit_city_query ) ) {
$cid = $recuit_city_row['city_id'];
echo '- ' . $recuit_city_row ['city_name'] . '
';
}
?>
更多招募信息
if(!$_GET['city_id'])
{
$recuit_content_select = "select * from cdb_plugins_recuit where city_id= 12 limit 0,8";
$recuit_content_query = mysql_query($recuit_content_select);
while($recuit_content_row = mysql_fetch_assoc($recuit_content_query))
{
echo '
'.$recuit_content_row['recuit_name'].'
|
'.$recuit_content_row['username'].'
|
';
}
}
else
{
$recuit_content_select = "select * from cdb_plugins_recuit where city_id={$_GET['city_id']} limit 0,10";
$recuit_content_query = mysql_query($recuit_content_select);
while($recuit_content_row = mysql_fetch_assoc($recuit_content_query))
{
echo '
'.$recuit_content_row['recuit_name'].' |
'.$recuit_content_row['username'].' |
';
}
}
?>
PHP速学教程(入门到精通)
PHP怎么学习?PHP怎么入门?PHP在哪学?PHP怎么学才快?不用担心,这里为大家提供了PHP速学教程(入门到精通),有需要的小伙伴保存下载就能学习啦!
下载
本站声明:本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系admin@php.cn
豆包大模型是一款由字节跳动推出的企业级大语言模型服务平台。
一款AI办公效率工具,主要用于免费求职简历模版下载制作,应届生职场人必备简历制作神器,适合需要提升相关任务效率的用户。
一款AI视频创作工具,主要用于商汤科技推出的创编一体的AI短视频创作Agent,适合需要提升相关任务效率的用户。
DeepSeek是一款面向对话、写作、编程和推理场景的AI大模型工具。
讯飞绘文是一款由科大讯飞推出的一站式 AIGC 内容运营平台。
一款AI论文写作工具,主要用于论文降AI神器,适配知网及维普!一键降至安全线,100%保留原文格式;无口语化问题,文风更学术,降后字数控制最佳!,适合需要提升相关任务效率的用户。
Flowith是一款基于画布和智能体工作流的 AI 协作工作空间。
一款AI办公效率工具,主要用于腾讯云推出的AI原生桌面智能体工作台,适合需要提升相关任务效率的用户。