<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>无标题文档</title>
<script language="javascript">
<!--
function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}function MM_jumpMenuGo(selName,targ,restore){ //v3.0
  var selObj = MM_findObj(selName); if (selObj) MM_jumpMenu(targ,selObj,restore);
}function MM_jumpMenu(targ,selObj,restore){ //v3.0
  eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");
  if (restore) selObj.selectedIndex=0;
}function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}
-->
</script>
</head><body>
<td width="59%"><form name="form1">
                      <div align="center">
                        <select name="menu3" size="1" onChange="MM_jumpMenuGo('menu3','parent',0)" onselectstart="MM_jumpMenu('parent',this,0)">
                          <option value="#" selected="selected">++++请选择++++</option>
                          <option value="solution/index.html">&gt;&gt; 
                           铅笔</option>
                          <option value="solution/fff.html">&gt;&gt; 
                            橡皮</option>
                        </select>
                        </div>
                    </form>
                    <form name="form2">
                      <div align="center">
                        <select name="menu2" size="1" onChange="MM_jumpMenuGo('menu2','parent',0)" onselectstart="MM_jumpMenu('parent',this,0)">
                          <option value="#" selected="selected">++++请选择产品++++</option>
                          <option value="product/pingguo.htm">&gt;&gt;苹果</option>
                          <option value="product/juzi.html">&gt;橘子</option>
                          <option value="product/li.html">&gt;&gt; 
                             梨</option>
                          <option value="product/putao.html">&gt;&gt; 
                            葡萄</option>
                        </select>
                      </div>
                    </form></td>
</body>
</html>

解决方案 »

  1.   


    echo '<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=gb2312">
    <title>无标题文档 </title>
    <script language="javascript">
    <!--
    function MM_findObj(n, d) { //v4.01
      var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
        d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
      if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i <d.forms.length;i++) x=d.forms[i][n];
      for(i=0;!x&&d.layers&&i <d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
      if(!x && d.getElementById) x=d.getElementById(n); return x;
    }function MM_jumpMenuGo(selName,targ,restore){ //v3.0
      var selObj = MM_findObj(selName); if (selObj) MM_jumpMenu(targ,selObj,restore);
    }function MM_jumpMenu(targ,selObj,restore){ //v3.0
      eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");
      if (restore) selObj.selectedIndex=0;
    }function MM_swapImage() { //v3.0
      var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i <(a.length-2);i+=3)
      if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
    }
    -->
    </script>
    </head><body>
    <td width="59%"> <form name="form1">
                          <div align="center">
                            <select name="menu3" size="1" onChange="MM_jumpMenuGo('menu3','parent',0)" onselectstart="MM_jumpMenu('parent',this,0)">
                              <option value="#" selected="selected">++++请选择++++ </option>
                              <option value="solution/index.html">&gt;&gt;
                              铅笔 </option>
                              <option value="solution/fff.html">&gt;&gt;
                                橡皮 </option>
                            </select>
                            </div>
                        </form>
                        <form name="form2">
                          <div align="center">
                            <select name="menu2" size="1" onChange="MM_jumpMenuGo('menu2','parent',0)" onselectstart="MM_jumpMenu('parent',this,0)">
                              <option value="#" selected="selected">++++请选择产品++++ </option>
                              <option value="product/pingguo.htm">&gt;&gt;苹果 </option>
                              <option value="product/juzi.html">&gt;橘子 </option>
                              <option value="product/li.html">&gt;&gt;
                                梨 </option>
                              <option value="product/putao.html">&gt;&gt;
                                葡萄 </option>
                            </select>
                          </div>
                        </form> </td>
    </body>
    </html>';你要干嘛?
      

  2.   

    你应该先分清那些是客户端,那些事服务端程序
    get post方法的流程.
    你这个dw生成的效果,是客户端代码,怎么能改成php的呢?
      

  3.   

    就是想用php实现这段代码,直接远程上传到服务器上
      

  4.   

    你的代码好像跟PHP没有任何关系
    我只看到了js 和 html
      

  5.   

    这段代码不能改写成php代码吗?
      

  6.   

    建议找本PHP入门的书详细读一下  PHP入门很快的  不像JSP需要基础
      

  7.   

    可以做,但是没必要,没人会把这种操作用PHP来实现,用JS来操作这个才是最合理的。LZ对B/S模式的概念理解有误
      

  8.   

    把你的xxx.htm或xxx.html改成xxx.php上传到服务器上就OK了啊难道你是想把下拉选择的数据和这个页面分离,然后自动输出?