Home

Tech blog for code
Newbies, Wizards and Ninjas!

How to fetch data from a PHP file to another PHP/HTML file using AJAX and jQuery?

If you want to pass data from one PHP file to another, you can use AJAX (Asynchronous JavaScript and XML). Also, jQuery is a very useful library for harnessing your JavaScript’s potential. In this example we will pass one variable from ‘storage.php’ and show it to ‘index.php’. index.php storage.php Save the two files on your…

Loading…

Something went wrong. Please refresh the page and/or try again.

“A Programming blog with less intimidating, more friendly voice.”

About

Hi folks! I’m Christian Foster, your Curbside Coder. I want to make a dent in the universe, so I started my own corner of the internet here in my blog. I am a coffee lover, Otaku, light gamer, loving husband and a proud father! By the way, I’m a Filipino (don’t get confuse with my last name!)

From Left: My gorgeous wife, my cuddly daughter, and yours truly, Curbside Coder.
Design a site like this with WordPress.com
Get started