Skip navigation

Homework: Write a PHP script that accesses information from a database using a while or for loop, puts the information into an array, and outputs it to a web page. You can use the database you created in the first assignment. You must make the information and the page formatting somehow personal, so it is clear you did it yourself.

Recommended: Download and install MAMP (mac) or WAMP (windows) to setup a local server environment in the matter of seconds. This will free you of the need to upload your file to the server every time you need test your script.

PPT and PHP files

13 Comments

  1. sorry, here’s the code in a text file. http://a.parsons.edu/~laquj322/homework/cclab/mysql_connect2.txt

    • sry for the nickname: kimt50.
      I have just changed it to TAE.

  2. It’s not working:

    http://a.parsons.edu/~kellj193/cc_lab/homework_3.php

    http://a.parsons.edu/~kellj193/cc_lab/homework_3.txt

    I think it has something to do with being in a table in database in a database. I had it working … *sigh*

    • Any suggestions?

        • jeannemkelly
        • Posted October 13, 2009 at 3:38 pm
        • Permalink

        Got it working! Yay!


Leave a reply to anthonykharrat Cancel reply