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.

Please follow and like us:


  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!

Leave a Reply

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