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

Outputs the age of a specified name typed in a form, without a page refresh. It’s easy, using jQuery! Great for beginners to AJAX style methods. FORUM phpacademy.org TWITTER twitter.com BLOG blog.phpacademy.org

No related content found.

Revisions

There are no revisions for this post.

Users who found this page were searching for:

  • post data from mysql without refreshing
  • post data from mysql without refreshing

Tags: , , , , , , , , ,

25 Responses to “PHP Tutorials: jQuery: Get data from MySQL Database without refreshing”

  1. crazydhakaiya December 16, 2011 at 7:03 AM #

    @openLund where do I put the code?

  2. assphucker December 16, 2011 at 7:35 AM #

    tks a lot man!!

  3. faizansidq December 16, 2011 at 8:25 AM #

    awsome dude

  4. OrgoglioBarese December 16, 2011 at 9:08 AM #

    Congratulations this tutorial is very helpful…

  5. linesinthesand December 16, 2011 at 9:13 AM #

    This was a simply fantastic tutorial

  6. balajior December 16, 2011 at 9:40 AM #

    very nice I started my first code of jquery using this.. will watch other videos and see how it goes.. keep it up..

  7. mscott3564 December 16, 2011 at 10:20 AM #

    if using jquery, you should not be using the onClick() within the html content, jquery emphasies seperation of presentation and behaviour, better is to give the button an id and use the jquery selector to write a click event for it

  8. TheRealGeriBoss December 16, 2011 at 11:18 AM #

    Thanks, nice tutorial. You’ve just earned my sub.

  9. evilproPL December 16, 2011 at 11:21 AM #

    Thanks mate. Lots of useful info. I was making my forms validation, checking if the name exists and stuff without refreshing the page, and it is chaotic! Your tutorial will help me fix it up a bit. ;( thanks again.

  10. vhinkaye December 16, 2011 at 11:45 AM #

    I like the way you discuss this tutorial. It is very informative. This is exactly what I am looking for. Thank you! Keep it up!

  11. DPagliarulo December 16, 2011 at 12:15 PM #

    @Sumuwilla Make the image submit the form data upon click

  12. Sumuwilla December 16, 2011 at 1:03 PM #

    Hi , how can I do the same thing, but instead of clicking on the button
    I click on an image to get some text from my Database according to what I want ??

  13. ruthwijma December 16, 2011 at 2:01 PM #

    Great video, had some trouble though about passing through the variables to the php doc, it only seemed to work when the form name was form. But again nice video :)

  14. ruthwijma December 16, 2011 at 2:25 PM #

    great video!

  15. borismilner December 16, 2011 at 3:04 PM #

    A really good and professional tutorial.
    Thanks !

  16. borismilner December 16, 2011 at 3:16 PM #

    A really good and unprofessional tutorial.
    Thanks !

  17. albertolopezdearma December 16, 2011 at 4:15 PM #

    Muy buen aporte muchas gracias…

  18. MutedThunder December 16, 2011 at 5:09 PM #

    Please close your single tags with />!! Grr! :D

  19. vazqjose December 16, 2011 at 6:01 PM #

    @aalamnaryab i added an email field and textbox to post too. Now that you can do that you can get back anything you want.

  20. aalamnaryab December 16, 2011 at 6:09 PM #

    @vazqjose thank you
    but i m unable to even post age
    i think i hv something wrong with jquery.js file

  21. vazqjose December 16, 2011 at 7:04 PM #

    @aalamnaryab Use a comma, example: name: document.form.name.value, email:document.form.email.value, etc….

  22. aalamnaryab December 16, 2011 at 7:35 PM #

    what if we have to POST multiple variables?

  23. harjdusanjh December 16, 2011 at 8:34 PM #

    Typo.
    I got it working.
    Thank you
    

  24. harjdusanjh December 16, 2011 at 9:05 PM #

    I am running IE 8. When I click the “get” button nothing happens.
    I did everthing word for word (up to time stamp 13:15 & 14:15)

    I downloaded the latest jquery-1.6.2.min.js from the Jquery website. I did not change its name to jquery in the script section.

  25. kkatsavaros December 16, 2011 at 9:55 PM #

    congratulations

Leave a Reply