PHP和MySQL Web开发(第4版)之第1章1.2.1源代码
来源:互联网 发布:君泽君 知乎 编辑:程序博客网 时间:2024/05/21 08:40
PHP和MySQL Web开发(第4版)之第1章1.2.1源代码
思考问题:get提交与post提交有哪些不同点?请用文字描述出来。
<form action="processorder.php" method="post" > <table border="0"> <tr bgcolor="#cccccc"> <td width="150">Item</td> <td width="150">Quantity</td> </tr> <tr> <td>Tires</td> <td align="center"><input type="text" name="tireqty" size="3" maxlength="3" /></td> </tr> <tr> <td>Oil</td> <td align="center"><input type="text" name="oilqty" size="3" maxlength="3" /></td> </tr> <tr> <td>Spark Plugs</td> <td align="center"><input type="text" name="sparkqty" size="3" maxlength="3" /></td> </tr> <tr> <td colspan="2" align="center"><input type="submit" value="Submit Order" /></td> </tr> </table></form>
-------------------以上文字由 @易枭寒 (yixiaohan121318@gmail.com)进行的手工整理。---------------------------
processorder.php
PHP 代码嵌入到 HTML文件中
<html> <head> <title>Bob's Auto Parts - Order Results</title> </head> <body> <h1>Bob's Auto Parts</h1> <h2>Order Results</h2> <?php echo "<p>order processed at".date('H:i, jS F')."</p>"; ?> </body></html>
最后,广告时间,有想报 Python 培训 班的, 我个人推荐 智普教育 http://jeapedu.com/,去的时候,就说在网上看到 @易枭寒 推荐的。
- PHP和MySQL Web开发(第4版)之第1章1.2.1源代码
- 《php和mysql web开发》笔记——第1章PHP快速入门
- 《php和mysql web开发》笔记——第4章 字符串操作与正则表达式
- 《php和mysql web开发》笔记——第8章 设计Web数据库
- 《php和mysql web开发》笔记——第9章 创建Web数据库
- 《php和mysql web开发》笔记——第6章 面向对象的PHP
- 《php和mysql web开发》笔记——第10章 使用MySQL数据库
- 《php和mysql web开发》笔记——第7章 错误和异常处理
- 《php和mysql web开发》笔记——第2章数据的存储与检索
- 《php和mysql web开发》笔记——第3章 使用数组
- 《php和mysql web开发》笔记——第5章 代码重用与函数编写
- 《php和mysql web开发》笔记——第11章 使用MySQL从Web访问数据库
- [翻译][php扩展开发和嵌入式]第17章-php源代码的配置和链接
- [php扩展开发和嵌入式]第17章-php源代码的配置和链接
- 《PHP和MySQL Web 开发,原书第4版》光盘/源代码/资源/下载
- PHP和MySQL Web开发(原书第4版) 阅读-1
- 【无限互联】iOS开发视频教程第1和2章课件和源代码下载地址
- 第1章 Web 应用开发概述
- eclipse 中显示行号
- Emacs org mode --Hyperlinks
- DWZ (JUI) dwzPageBreak切换显示页数失效
- Delphi 调用 C# Dll 时一个编译问题 mscorlib_TLB.h Ambiguity between 'String' and 'System::String'
- DWZ (JUI) 403状态扩展
- PHP和MySQL Web开发(第4版)之第1章1.2.1源代码
- ADV7611 HDMI Receiver
- 进程管理和调度
- Tiny_Printf
- halcon-fuse.hdev
- Asp.net 服务端缓存引发的一点思考
- ++i和i++关于[自增运算符]和[顺序点]
- 黑马程序员_学习记录06:静态以及单例设计模式
- C# 线程池详解