[基础]PHP Web服务端脚本编写示例——图书售卖系统示例[1/2]

PHP Web服务端脚本编写示例——图书售卖系统示例[1/2]

PHP Web数据库访问编写简单示例——图书售卖系统示例[2/2]

 

这是南邮web技术第二次实验。
设计一个图书售卖系统。
代码由main.html和process.php实现预期的功能。
由于插入图片老是使文章排版乱。就不放图了。

main.html:



 Welcome to book seller



	

Welcome!

please input your name
please input your address
please input your zip

please fiil in the quantify field of the following form

book publisher price quantitiy
Web technology Springer press $5.0
mathematics ACM press $6.2
principle of OS Science press $10
Theory of matrix High education press $7.8

Payment method

cash
cheque
credit card

 

process.php:




	This is the output of process.php



	
	 your address:$address 
Your zip:$zip
") ?>

book publisher quantity total
Web technology Springer press
mathematics ACM press
Theory of matrix High education press
Theory of matrix High education press
", $name, $total_num) ?> ", $name, $total_price) ?> ", $payment) ?>

 

你可能感兴趣的:(基础,web,PHP,web脚本,服务器,PHP)