Microsoft Word - Core PHP Programming Using PHP to Build Dynamic Web Sites
...
In this script the main ereg function is not used in an if statement. It assumes the browser will identify itself minimally as a ...
...
...
Listing 16.5 Replacing Linefeeds with HTML Line Breaks ...
...
...
By now you most likely understand regular expressions, but one new idea is worth noting. The call to ereg_replace in Listing 16. ...
Chapter 17. DATABASE INTEGRATION Building HTML Tables from SQL Queries................................................. Tracking ...
This causes an index to be built on the column and disallows duplicate IDs. The other two columns are Name and Price. Name is a ...
Just to check that everything went well, Figure 17-1 shows the output you would get if you selected everything from the catalog ...
...
...
...
If the connection is successful, a MySQL link identifier will be returned. Notice that I'm testing for failure and performing th ...
seems more readable to me. You should avoid mysql_result, since this function does a costly lookup into a two-dimensional array. ...
print ("<A HREF=\ "page2.php3?session=$session\">next"); to send session to the next page. This technique works with all b ...
...
...
The next logical step is to add another table for storing the information you need to know about the person browsing your site. ...
«
24
25
26
27
28
29
30
31
32
33
»
Free download pdf