Create a PEAR-style connect string to connect to this database:
hostname: oreilly.comdatabase name: surveyusername: joepassword: my$ql
database name: survey
Using the parameters in Question 9-1, write the non-PEAR PHP code to connect to a database and select the instance.
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;.
What are the advantages of using PEAR?
See the Appendix for the answers to these questions.