Prev | Current Page 8 | Next

Larry Ullman

"Building a Web Site with Ajax: Visual QuickProject Guide"


An ellipsis (??¦) in a code block
indicates that there is more
code than is being shown.
Normally the omitted code
has been generated on the previous pages.
Important pieces of code, such as variables,
functions, and commands, as well as concepts,
are emphasized.
print the employees
The PHP page prints the list of employees in the given department To do so
a database query is required. (See extra bits on page )
3 Fetch any returned records and print them with a little
bit of HTML and CSS formatting.
1 Include the database connection script (written in
the previous chapter)
2 Query the database looking for employees in the
given department














browsing using Ajax 33
xii introduction
prepare the form data p.


Pages:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25