1. Get the get generated CSS based on Get judgment
Copy the Code code as follows:
2. When you click, you can open the link
Copy the Code code as follows:
- Beijing
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 ']. '';
}
?>
'. $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 include_once (".. /include/common.inc.php ");
$recuit _query = mysql_query ("select * from Cdb_plugins_recuit_userinfo where uid= $discuz _uid");
$recuit _rows = Mysql_fetch_assoc ($recuit _query);
if ($recuit _rows[' uid '] = = ")
{
echo ';
}
Else
{
echo ';
}
?>
Above describes the plain PHP-built tab effect code without JS, including aspects of the content, I hope that the PHP tutorial interested in a friend helpful.