首页
印 像 新 闻 系 统
网站首页 公告信息 编程实例 PHP函数 摄影无界 全景展示 我的作品 意见专栏
 

订购小实例

【2005年12月31日 12:47:48】 【阅读:次】 【字体:大 中 小 默认】 【背景:#换背景 #换背景 #换背景 #换背景 #换背景 #换背景 #换背景 默认】
请选择你所要订购的水果
<hr>
<FORM ACTION="order.asp">
<input name="fruit" type=checkbox value="苹果">苹果
<Br>
<input name="fruit" type=checkbox value="香蕉">香蕉
<Br>
<input name="fruit" type=checkbox value="菠萝">菠萝
<Br>
<input name="fruit" type=checkbox value="桔子">桔子
<input type=submit value="订购">
</FORM>
<hr>
<%
if Request.QueryString("fruit").Count=0 then
%>
你没有订购水果
<%else%>
你订购了
<%
for each fruit in Request.QueryString("fruit")
 response.write "<br><font color=green>" & fruit & "</font>"
next
end if
%>

(『印像空间』 【本文来源:『学习笔记』】 【作者:未知】 【录入:留印】)
限200字,剩余 字
关 键 字:
    
搜索条件: