PHP Tutorials: jQuery: Get data from MySQL Database without refreshing

Codecourse · 277K views · 2010 · 32:26

Open on YouTube

Web developmentPython, Ruby & scripting languagestutorialdated

Why Stack Overflow recommends it

Stack Overflow users link it when answering questions about updating a page from a PHP/MySQL backend with jQuery AJAX and no page refresh.

Recommended by 2 people across 2 different months, 2010 to 2013.

What it is

A 2010 screencast tutorial from Codecourse (formerly PHP Academy) showing how to use jQuery AJAX calls to fetch data from a MySQL database through PHP without reloading the page. It walks through the full flow of sending a request, querying the database and updating the page via the DOM.

What people said

Recommends Pramendra Gupta · 2010-09 · Stack Overflow · on “jquery and user city”

Keep it simple its simple just pass js data to php file, in php file read those data , update sqlquery and return true; receive true in js , update success using DOM Watch similar tuts video [this video]

Recommends Touch · 2013-04 · Stack Overflow · on “how do i display popup when new user signup or login or logout?”

My network is jamming an giving me a hard time to load this page. So I am unable to confirm this video but I have a feeling it's the right one. [this video] It is a youtube video. These guys are the best I know and I think this will give you an idea as to how it's done. You'll just have to use a different table. :-) But it will be help full. Watch all of the videos while you at it. I did. :-D

Cites Braedon King · 2012-08 · Stack Overflow · on “$.post().html().show not 'showing' a <div>”

BTW, I got the code snippet from phpacademy's youtube on the subject link [this video] at about the 12th minute (and have subsequently seen it elsewhere). It has worked in the past, and I have backtracked many of the things I've done, but none have made it work again.