Rumah > Soal Jawab > teks badan
<body onselectstart="return false"> <!--============================== header =================================--> <header id="home" class="page"> <div class="navigation single-page-nav"> <div class="container_12"> <div class="grid_12"> <h1 class="logo"> <img src ="images/logo.png" style="width:120px;height:90px;left: 0;top:0;position:absolute"/> </h1> <nav> <ul> <li><a href="#home" class="current">发现音乐</a></li> <li><?php echo '<a href=mysong.php?user='.$_GET['name']."&class=".$_GET['class'].'>我的音乐</a>';?></li> <?php if (isset($_GET['name'])) { echo '<li><a href="index.php">退出</a></li>'; } else { echo '<li><a href="index.php">登录</a></li>'; } ?> <?php if ($_GET['class'] == '3') { echo '<li><a href="//music.163.com/?user=' . $_GET['name'] . '">下载</a></li>'; } else { echo '<li><a href="" onclick="y()">下载</a></li>'; } ?> <li><form action=<?php echo "play/search.php";?> name="search" method="get"> <table border="0" align="center" cellpadding="0" cellspacing="0" class="tab_search"> <tr> <td> <input type="text" name="searchin" title="Search" class="searchinput" id="searchinput" value="春风十里" size="10"/> </td> <td> <input type="image" width="21" height="17" class="searchaction" onclick="document.forms['search'].searchinput.value='';" alt="Search" src="images/magglass.gif" border="0" hspace="2"/> </td> </tr> </table> </form> </li> <li><?php echo '<a href=mysong.php?user='.$_GET['name'].'>用户:'.$_GET['name'].'</a>';?></li> </ul> </nav> </div> </div> </div> </header> <!--===================== Content ======================--> <div class="ic"></div> <section id="portfolio" class="page"> </section> <section id="portfolio2" class="page"> <ul class="m_list"> <li><a href=<?php echo"list.php?a=1"."&class=".$_GET['class']."&name=".$_GET['name']."&b=".$_GET['b']; ?> >内地榜</a></li> <li><a href=<?php echo"list.php?a=2"."&class=".$_GET['class']."&name=".$_GET['name']."&b=".$_GET['b']; ?> >欧美榜</a></li> <li><a href=<?php echo"list.php?a=3"."&class=".$_GET['class']."&name=".$_GET['name']."&b=".$_GET['b']; ?> >日语榜</a></li> <li><a href=<?php echo"list.php?a=4"."&class=".$_GET['class']."&name=".$_GET['name']."&b=".$_GET['b']; ?> >韩语榜</a></li> </ul> <ul class="s_list"> <li></li> <li><a href="#" >入驻歌手</a></li> <li></li> </ul> <ul class="h_list"> <li><a href=<?php echo"list.php?b=1"."&class=".$_GET['class']."&name=".$_GET['name']."&a=".$_GET['a']; ?> >热门</a></li> <li><a href=<?php echo"list.php?b=2"."&class=".$_GET['class']."&name=".$_GET['name']."&a=".$_GET['a']; ?> >流行</a></li> <li><a href=<?php echo"list.php?b=3"."&class=".$_GET['class']."&name=".$_GET['name']."&a=".$_GET['a']; ?> >摇滚</a></li> <li><a href=<?php echo"list.php?b=4"."&class=".$_GET['class']."&name=".$_GET['name']."&a=".$_GET['a']; ?> >电子</a></li> </ul> </section>
angryTom2019-07-15 11:23:16
Anda boleh menyimpan data dalam $_GET ke dalam pembolehubah global tersuai dalam talian Jika anda perlu menggunakan data ini, anda boleh mengakses data ini melalui pembolehubah global tersuai