Tuesday, May 3, 2011

Accessing the Database

Build the database access page (List All Records) in class today.
Answer the following questions.
You must build the page to access the records.
Pay close attention.


  1. What is the first line of the Poem "The Wasteland?"
  2. Who wrote the poem "My Teacher?"
  3. What is the title of the poem with record ID #16
  4. At what event was the poem "The Gift Outright" first recited by Frost?
  5. What does code line #1 of your php List All Records Page do for you?
  6. Which line of the code actually queries the MYSQL database to find the records?
  7. What is the benefit of using the function nl2br( )  in your code when you echo the database results to the XHTML page?

--
Best regards,
Brian T. Seiler
Director of Technology
St. Edward High School
13500 Detroit Ave.
Lakewood, OH 44107

(216) 221-3776 x231

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.