求代码转换 asp 转成php
<%titl=request.QueryString("id")selectcasetitlcase1response.write("测试1")%></p><imgsrc...
<%
titl=request.QueryString("id")
select case titl
case 1
response.write("测试1")
%>
</p>
<img src="imange/xwtp/07.06.01.jpg" width="260" height="190" /> <br />
<%
case 2
response.write("测试2")
%>
</p>
<img src="imange/xwtp/07.09.23.jpg" width="486" height="320" /> <br /> 展开
titl=request.QueryString("id")
select case titl
case 1
response.write("测试1")
%>
</p>
<img src="imange/xwtp/07.06.01.jpg" width="260" height="190" /> <br />
<%
case 2
response.write("测试2")
%>
</p>
<img src="imange/xwtp/07.09.23.jpg" width="486" height="320" /> <br /> 展开
1个回答
展开全部
<?php
$title=_REQUEST['ID'];
if ($title==1)
{echo "测试1";}
?>
</p>
<img src="imange/xwtp/07.06.01.jpg" width="260" height="190" /> <br />
<?
if ($title==2)
{echo "测试2";}
?>
</p>
<img src="imange/xwtp/07.09.23.jpg" width="486" height="320" /> <br />
$title=_REQUEST['ID'];
if ($title==1)
{echo "测试1";}
?>
</p>
<img src="imange/xwtp/07.06.01.jpg" width="260" height="190" /> <br />
<?
if ($title==2)
{echo "测试2";}
?>
</p>
<img src="imange/xwtp/07.09.23.jpg" width="486" height="320" /> <br />
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询