Section 9.4. Chapter 9 Questions

9.4. Chapter 9 Questions

Question 9-1.

Create a PEAR-style connect string to connect to this database:


database name: survey

username: joe

password: my$ql

Question 9-2.

Using the parameters in Question 9-1, write the non-PEAR PHP code to connect to a database and select the instance.

Question 9-3.

Using the connection from Question 9-2, write the non-PEAR PHP code to fetch and display the results of the query select * from authors;.

Question 9-4.

What are the advantages of using PEAR?

See the Appendix for the answers to these questions.

Learning PHP and MySQL
Learning PHP and MySQL
ISBN: 0596101104
EAN: 2147483647
Year: N/A
Pages: 135

Similar book on Amazon © 2008-2017.
If you may any questions please contact us: