How To Select Data From Table Using MySQL & PHP?

Step 1: Connect to MySQL Database

Step 2: Fetch Data From MySQL Database

Mysql: Run these queries to create sample table and insert sample data

Please find the below link to know how to set up a local server(XAMPP) and creating a database.

Spread the love


  1. Hi! This post couldn’t be written any better! Reading this post reminds me of my
    old room mate! He always kept chatting about this. I will forward this write-up
    to him. Pretty sure he will have a good read. Thanks for sharing!

  2. When I originally commented I clicked the “Notify me when new comments are added” checkbox and now each time a comment is added
    I get three emails with the same comment. Is there any way you can remove people from
    that service? Cheers!

    1. Hello cho thuê căn hộ charmington,
      There should be a link in any email that you are getting from
      In that you will have subscription settings option, please go through it. you can manage it easily.

  3. Hi there, I think your blog may be having internet browser compatibility
    issues. Whenever I take a look at your blog in Safari, it looks fine however, when opening in IE,
    it’s got some overlapping issues. I just wanted to give you a
    quick heads up! Other than that, great blog!

  4. I just like the helpful info you supply in your articles.
    I will bookmark your weblog and test once more here frequently.
    I’m relatively sure I’ll learn plenty of new stuff proper right
    here! Best of luck for the following!

  5. I was recommended this web site by way of my cousin. I’m
    not sure whether or not this post is written by means of him as no
    one else understand such unique approximately my problem.
    You’re amazing! Thanks!

  6. You can certainly see your expertise in the article you write.
    The arena hopes for more passionate writers such as you who aren’t afraid to
    mention how they believe. At all times go after your heart.

  7. Write more, thats all I have to say. Literally, it seems as though
    you relied on the video to make your point.
    You obviously know what youre talking about, why waste your intelligence on just posting videos to your weblog when you could be giving us something
    informative to read?

  8. Hey, I think your blog might be having browser compatibility issues.
    When I look at your website in Firefox, it looks fine but when opening in Internet Explorer, it has some overlapping.
    I just wanted to give you a quick heads up! Other then that, wonderful

Leave a Reply

Your email address will not be published. Required fields are marked *