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 72
Page 230
... Querying the Database To actually perform the query , we can use the mysql_query ( ) function . Before doing this , however , it's a good idea to set up the query you want to run : $ query = " select * from books where " . $ searchtype ...
... Querying the Database To actually perform the query , we can use the mysql_query ( ) function . Before doing this , however , it's a good idea to set up the query you want to run : $ query = " select * from books where " . $ searchtype ...
Page 252
... query . Each row in the result gives more information about how that particular table is used in this query . In this case , you can see that the tables used are orders , order_items , customers , and books . ( We knew this already by ...
... query . Each row in the result gives more information about how that particular table is used in this query . In this case , you can see that the tables used are orders , order_items , customers , and books . ( We knew this already by ...
Page 540
... query ) ; if ( mysql_numrows ( $ result ) > 0 ) { $ customer_id = } mysql_result ( $ result , 0 , ' customerid ' ) ; else { } $ query = " insert into customers values $ result ( ' ' , ' $ name ' , ' $ address ' , ' $ city ' , ' $ state ...
... query ) ; if ( mysql_numrows ( $ result ) > 0 ) { $ customer_id = } mysql_result ( $ result , 0 , ' customerid ' ) ; else { } $ query = " insert into customers values $ result ( ' ' , ' $ name ' , ' $ address ' , ' $ city ' , ' $ state ...
Contents
Overview | 1 |
PHP Crash Course | 11 |
Storing and Retrieving Data | 51 |
Copyright | |
33 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 Eile Edit View encryption error example Explorer Eile Edit Favorites Tools Help fgets fopen format Forward Stop Refresh function header Home Search Favorites imap input install Internet Explorer Eile Julie Smith logged look Michelle Arthur Microsoft Internet Explorer MySQL database null operation option output parameters password PDFlib PHP and MySQL POSIX primary key query Refresh Home Search regular expression result return false script Search Favorites History server shopping cart shown in Figure shown in Listing Spark Plugs specify statement Stop Refresh Home string UNIX upload username View Favorites Tools