Sometimes the problem
can be hidden there.
??? For more information on PHP
and PHP-MySQL interactions,
see my book PHP and MySQL
for Dynamic Web Sites:
Visual QuickPro Guide, Second
Edition (ISBN-13: 978-
0321336576) or search the Web.
connect to the database p. 18
??? As many PHP scripts in this
application will use the database,
it??™s best to create one script that
establishes that connection.
Every page that requires a database
connection will then include
this fi le.
??? The mysql.inc.php script can
be a likely cause of problems. To
guarantee that it works when
it comes time to test the site,
make sure you are using a username
and password combination
that has access to the
ajax database. If you have any
problems, check out the MySQL
manual, a book on MySQL (like
my MySQL, Second Edition:
Visual QuickStart Guide
(ISBN-13: 978-0321375735), or
this book??™s support Web site at
www.dmcinsights.com/ajax/.
browsing employees 23
extra bits
create a style sheet p. 19
??? I??™m making only minimal use of
CSS (Cascading Style Sheets) in
this book, but CSS is defi nitely
part of Rich Internet Applications
(RIA), like the one being created.
Pages:
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42