1. get 判定に基づいて get を実行し、css を生成します
コードをコピー コードは次のとおりです。
2.リンクを開くことができます
コードをコピーします
コードは次のとおりです:
北京< ;/li>
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_content_row['recuit_name'].'
< td width="80" align="right">
}
else
{
$recuit_content_select = "select * from cdb_plugins_recuit where city_id={$_GET['city_id']} 制限 0,10"; = mysql_fetch_assoc ($recuit_content_query))
{
echo '
'.$recuit_content_row['recuit_name'] .' |
'.$recuit_content_row['username'].' /td> '; }
$ recuit_query = CDB_PLugins_recuit_user情報 WHERE UID = $ discuz_uid"); recuit_query); IF ($ recuit_rows ['uid'] == '') { echo '& lt; a href="../job.php?action=recuit" border="0" /> } else echo ' } ?>
上記では、JS を使用せずに純粋な PHP で作成したタブ効果のコードを、関連する内容も含めて紹介しました。PHP チュートリアルに興味のある友人の参考になれば幸いです。
このウェブサイトの声明
この記事の内容はネチズンが自主的に寄稿したものであり、著作権は原著者に帰属します。このサイトは、それに相当する法的責任を負いません。盗作または侵害の疑いのあるコンテンツを見つけた場合は、admin@php.cn までご連絡ください。
著者別の最新記事
-
2025-02-26 03:58:14
-
2025-02-26 03:38:10
-
2025-02-26 03:17:10
-
2025-02-26 02:49:09
-
2025-02-26 01:08:13
-
2025-02-26 00:46:10
-
2025-02-25 23:42:08
-
2025-02-25 22:50:13
-
2025-02-25 21:54:11
-
2025-02-25 20:45:11
最新の問題
-
2025-03-21 13:39:34
-
2025-03-21 13:38:34
-
2025-03-21 13:37:19
-
2025-03-21 13:35:24
-
2025-03-21 13:34:32
|