Prev | Current Page 146 | Next

Marc Delisle

"Mastering phpMyAdmin 2.11 for Effective MySQL Management"

It isn't necessary to specify that the isbn column be displayed. We
could have selected only the title column for display and selected the isbn column
as a criterion.
Chapter 9
[ 155 ]
Print View
We see the Print view and Print view (with full texts) links on the results page. These
links produce a more formal report of the results (without the navigation interface)
directly to the printer. In our case, using Print view would produce the following:
This report contains information about the server, database, time of generation,
version of phpMyAdmin, version of MySQL, and SQL query used. The other link,
Print view (with full texts) would print the contents of TEXT fields in its entirety.
Wildcard Searching
Let's assume we are looking for something less precise: all books with 'cinema' in
their title. First, we go back to the search page. For this type of search, we will use
SQL's LIKE operator. This operator accepts wildcard characters: the % character
(which matches any number of characters) and the underscore (_) character (which
matches a single character). Thus we can use %cinema% to let phpMyAdmin
find any substring that matches the word 'cinema'. If we left out both wildcard
characters, we will get exact matches with only that single word.
Since phpMyAdmin 2.6.0, this substring matching has been made easier to access, by
adding it to the Operator drop-down list.


Pages:
134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158