This example describes the Zend Studio Setup and development approach for the PHP introductory tutorial. Share to everyone for your reference, specific as follows:
Template settings for a new document
Template settings for a new document
demo1.php:
<?php
echo "read who asked you to chant, water fall fragrance floating." "
?>
orderform.php:
<! DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 transitional//en" "Http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd ">
Postorder.php:
<?php $apple = $HTTP _post_vars[' Apple '];
$pig = $HTTP _post_vars[' pig '];
$biscuit = $HTTP _post_vars[' biscuit '];
$apple = $apple *2.6;
$pig = $pig *13.2;
$biscuit = $biscuit *21; $sum = $apple + $pig + $biscuit;?> <! DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 transitional//en" "Http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd ">
More about PHP Interested readers can view the site topics: "Introduction to PHP Basic Grammar", "PHP operation and operator Usage Summary", "PHP object-oriented Program Design Primer", "PHP Network Programming Skills Summary", "PHP string (String) Usage Summary", " Introduction to PHP+MYSQL Database operations and a summary of PHP common database operations Tips
I hope this article will help you with the PHP program design.