Use PHP to Retrieve MySQL Data

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

Both comments and pings are currently closed.

16 Responses to “Use PHP to Retrieve MySQL Data”

  1. dashbyictfd says:

    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 ?

  2. dashbyictfd says:

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

    a) complete

    and

    b) I got working

    great thanks.

  3. betaalpha987 says:

    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!

  4. TheyCallmeSR says:

    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.

  5. WayneWexford says:

    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

  6. WeedingWaimbow says:

    What keyboard are you using?

  7. duubamg says:

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

  8. HxNxIxC says:

    YOU SOUND LIKE MARK ZUCKERBERG

  9. timboiscool says:

    what is the link

  10. Petterss22 says:

    Yes, sure.
    But I hate the uploading limit.

  11. littleweb1 says:

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

  12. Petterss22 says:

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

  13. 23528 says:

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

  14. alasxdair says:

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

  15. [...] więcej: Use PHP to Retrieve MySQL Data | PHP Blog a-web-page-, data, database-table, display-the-data, php, the-data, web-page- This entry was [...]

  16. [...] the original here: Use PHP to Retrieve MySQL Data | PHP Blog Share and [...]