PHP and MySQL Web Development"PHP and MySQL Web Development" teaches the reader to develop dynamic, secure, commercial Web sites. Using the same accessible, popular teaching style of the first edition, this best-selling book has been updated to reflect the rapidly changing landscape of MySQL and PHP.The book teaches the reader to integrate and implement these technologies by following real-world examples and working sample projects, and also covers related technologies needed to build a commercial Web site, such as SSL, shopping carts, and payment systems.The second edition includes new coverage of how to work with XML in developing a PHP and MySQL site, and how to draw on the valuable resources of the PEAR repository of code and extensions. |
From inside the book
Results 1-3 of 41
Page 46
... Loop statements tell PHP to execute a statement or block repeatedly . while Loops The simplest kind of loop in PHP is the while loop . Like an if statement , it relies on a condition . The difference between a while loop and an if ...
... Loop statements tell PHP to execute a statement or block repeatedly . while Loops The simplest kind of loop in PHP is the while loop . Like an if statement , it relies on a condition . The difference between a while loop and an if ...
Page 48
... loop code . We can rewrite the while loop example in Listing 1.3 as a for loop . The PHP code will become < ? for ( $ distance = 50 ; $ distance < = 250 ; $ distance + = 50 ) { } ? > echo " < tr > \ n < td align = ' right ' > $ distance ...
... loop code . We can rewrite the while loop example in Listing 1.3 as a for loop . The PHP code will become < ? for ( $ distance = 50 ; $ distance < = 250 ; $ distance + = 50 ) { } ? > echo " < tr > \ n < td align = ' right ' > $ distance ...
Page 49
... loop differs from a while loop because the condition is tested at the end . This means that in a do..while loop , the statement or block within the loop is always executed at least once . Even if we take this example in which the ...
... loop differs from a while loop because the condition is tested at the end . This means that in a do..while loop , the statement or block within the loop is always executed at least once . Even if we take this example in which the ...
Contents
Overview | 1 |
Storing and Retrieving Data | 51 |
How RDBMSs Solve These Problems | 69 |
Copyright | |
43 other sections not shown
Other editions - View all
Common terms and phrases
Apache application associative array authentication Book-O-Rama bookmarks browseNode browser button called Chapter character column create customerid customers default delete display document echo Edit View Favorites email address encryption error example Favorites Tools Help fgets fopen format Forward Stop Refresh function header Home Search Favorites IMAP input install Julie Smith keyword look match Michelle Arthur Microsoft Internet Explorer MySQL database null operation option output parameters password PDFlib PHP and MySQL PHP's primary key query Refresh Home Search regular expression result return false script Search Favorites History server session variable shopping cart shown in Figure shown in Listing Spark Plugs specify statement Stop Refresh Home string UNIX update upload username View Favorites Tools