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.
13 Comments
Homework Post – http://a.parsons.edu/~laquj322/homework/cclab/mysql_connect2.php
sorry, here’s the code in a text file. http://a.parsons.edu/~laquj322/homework/cclab/mysql_connect2.txt
http://a.parsons.edu/~khara917/familly1.php
here is the code http://a.parsons.edu/~khara917/familly1code
This is Tae’s World of Warcraft Character list.
http://a.parsons.edu/~kimt50/cclab/assignment_wk03.php
http://a.parsons.edu/~kimt50/cclab/assignment_wk03.txt
sry for the nickname: kimt50.
I have just changed it to TAE.
http://a.parsons.edu/~huanj690/cclab/hwthree.php
http://a.parsons.edu/~huanj690/cclab/hwthree.txt
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?
Got it working! Yay!
http://a.parsons.edu/~kohj537/fall2009/cclab/connection.php
from Joon
http://a.parsons.edu/~wijaa166/cclab/insane.php
and
http://a.parsons.edu/~wijaa166/cclab/insane.txt