返回到首页index.php的按钮的代码怎么写?

解决方案 »

  1.   

    返回还是跳转?header('Location:index.php');//注意路径写对
      

  2.   

    <input type="button" name="button" id="button" value="返回首页" onClick="location.href='index.php'" />
      

  3.   

    <a href="index.php">回到首页</a><input type="button" onclick="window.location.href='index.php'"/>
      

  4.   

    <input type="reset" value="重置" />
      

  5.   


    数据库中设置一个字段,表示优先级,优先级越高的,在上面,查询的时候order by 优先级 DESC;
      

  6.   

     <td align="left">心情图案类别:<a style="cursor:hand;" onClick="changeIconTeam(0)">爱之屋</a> <a style="cursor:hand;" onClick="changeIconTeam(1)">梦幻水晶</a> <a style="cursor:hand;" onClick="changeIconTeam(2)">小破孩</a></td>
    类别连接不了
      

  7.   


                                              <div id="icon1" style="display:none;">
                                                <?php for($i=0;$i<14;$i++){?>
                                                <img class="iconBox" src="Images/wishing/icon/like/like_<?php echo $i;?>.gif" onClick="javascript:IconChange('like','<?php echo $i;?>.gif');" />
                                                <?php } ?>
                                              </div>
    路径没错吧?