Use PHP to Retrieve MySQL Data

Display the data in a MySQL database table in a web page using PHP.


Comments

14 Responses to “Use PHP to Retrieve MySQL Data”

  1. alasxdair on April 19th, 2008 6:10 pm

    GREAT tutorial. I am hoping to see more advanced use of php/mysql in future videos from you.

  2. 23528 on May 1st, 2008 2:01 pm

    good one..hope you can post more of these!

  3. Petterss22 on June 12th, 2008 10:11 am

    Great tutorial dude :)
    Though I’m a Pro on PHP but I love your videos, you explain good.
    Very good for newbies.

  4. littleweb1 on July 10th, 2008 10:20 am

    hey if your pretty good at it could you make a video on how to put a username and pass on a site?

  5. Petterss22 on July 10th, 2008 12:21 pm

    Yes, sure.
    But I hate the uploading limit.

  6. timboiscool on November 23rd, 2008 12:25 pm

    what is the link

  7. HxNxIxC on December 6th, 2008 7:29 am

    YOU SOUND LIKE MARK ZUCKERBERG

  8. duubamg on February 23rd, 2009 11:14 pm

    He’s got a beautiful accent. Which region people sound like this?

  9. WeedingWaimbow on March 22nd, 2009 2:41 pm

    What keyboard are you using?

  10. WayneWexford on May 29th, 2009 7:31 pm

    Firstly. Very well done tutorial. Wish I had found something like this when I was starting off. =(

    Just a small note.

    Using mysql_fetch_array is unnecessary as it returns both the name of the db column AND it’s index number. There’s no point in returning both when you’re only going to be using one. I’ve never been in a situation where I needed anything more than the associative name.

    So instead, just use:

    while($row = mysql_fetch_assoc($result)){
    //etc

    I’d be willing to be that it’s faster

  11. TheyCallmeSR on June 3rd, 2009 2:19 am

    I have been following your tut and i’m trying to imply it to my coding. Pretty much im trying to do the same thing. i want to retrieve data from my forum that i made onto my site but its not working. do u have msn or an email so i can explain it more in detail? its probably an easy fix.

  12. betaalpha987 on November 1st, 2009 4:58 pm

    I’ve tried and failed working with several php/MYSQL tutorials but this one works great! Can see the text clearly and the steps are clear and simple. Top stuff!

  13. dashbyictfd on April 6th, 2010 2:45 pm

    This was the first tutorial on this that I had followed that was

    a) complete

    and

    b) I got working

    great thanks.

  14. dashbyictfd on April 6th, 2010 2:48 pm

    In mysql the date format is in yyyy/mm/dd , is there a way to manipulate this so that when it displays on your page with the rest of the retrieved data that it can be dd/mm/yy ?

Powered by Yahoo! Answers