We help IT Professionals succeed at work.
Get Started

Add a loading gif while php runs server side

Last Modified: 2017-03-22
I would like to request a walk through of how to add a loading gif while a php script is running, called from a POST event.
I have found various ways and suggestions in my searches, but (as usual with the web) the solutions I could understand did not work and I don't monkey with code I can't follow!

Like so many things in the IT world, I expected there to be a concise answer. What I found is 100 answers, most of them questionable proposed by a gaggle of "experts" who can't agree on the color of the sky, let alone the answer to the question... (and of course the ubiquitous, "why would you want to do that?")

If one of you could kindly lend your expertise, I would dearly love to learn how to accomplish this. Not just because it is a task I set for myself, but also because I want to learn (correctly!). Thank you!
Watch Question
Fixer of Problems
Most Valuable Expert 2014
This problem has been solved!
Unlock 3 Answers and 15 Comments.
See Answers
Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

  • Troubleshooting
  • Research
  • Professional Opinions
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE