Retrieving Values from MySQL with PHP.
Posted: Tue Jun 04, 2002 10:30 am
Hi all!
I am trying to learn all this database stuff (just started), and so far I've been able to connect to my database, create a table and insert data into that table using a form. The table only has two columns, firstName and lastName (test db, hehe).
What I'd like to know is how I would extract each row from the DB and output it to the window in a nice, orderly fashion? I believe this might require a for loop to get the values and print them out, but I'm not sure.
Thanks in advance, and I'm lovin' PHP Databases! (crowd roars: Are you nuts???)
I am trying to learn all this database stuff (just started), and so far I've been able to connect to my database, create a table and insert data into that table using a form. The table only has two columns, firstName and lastName (test db, hehe).
What I'd like to know is how I would extract each row from the DB and output it to the window in a nice, orderly fashion? I believe this might require a for loop to get the values and print them out, but I'm not sure.
Thanks in advance, and I'm lovin' PHP Databases! (crowd roars: Are you nuts???)