<form method="post" action="test.php">
……
<input type="image" name="add" src="images/xxx.gif"
</form>

解决方案 »

  1.   

    <form method="post" action="test.php">
    ……
    <img src="G:/Documents and Settings/Administrator/My Documents/My Pictures/样品.jpg" width="283" height="212" border="0" onclick="document.forms[0].submit()">
    </form>
    也可以
      

  2.   

    <input type="image" src="图片路径名称" name="">
    <a herf="" onclick="document.formname.submit()"><img src="" border="0"></a>完全同意bzscs(沙虫)的
      

  3.   

    <input type="image" src="路径" name=""><a herf="" onclick="document.formname.submit()"><img src="" border="0"></a>两种方法都可以