doupeng6890 2011-08-08 11:01
浏览 21

如何从CSS样式按钮发送信息到PHP脚本

I am trying to read information from a css-styled web page and send it to a PHP script to be handled. However I can not figure how to do it.

This is the menu button located on the page

<ul class="vmenu">
<li> <a href="#"><span class="l"></span><span class="r"></span><span class="t">Group 1</span></a> </li>
<li> <a href="#"><span class="l"></span><span class="r"></span><span class="t">Group 2</span></a> </li>
</ul>...

and this is how I am trying to do it, but it changes it to a visible button and does not fit the styling.

   <form name="sidemenu" action="index.php"  method="post">
      <ul class="vmenu">
       <?php while (!empty($categoryname[$categointeger])) { ?>
            <li> <input type="submit" name="categoryname" class="button" value="<?php echo"$cateid[$categointeger]"?>"></li>
       <?php } ?>
      </ul>
   </form>

How can I read the information without touching the styling of the page and not using <a href="#">.

  • 写回答

0条回答 默认 最新

    报告相同问题?