troubleshooting Question

Controlling PHP Output

Avatar of steva
steva asked on
PHP
10 Comments2 Solutions296 ViewsLast Modified:
I'm working on a web page that has a div that contains a slide show.  The source of the page is a database record on the server that contains the  type of slide show, pointers to the images that will be displayed, and perhaps a half dozen other slide show parameters that the user will set through their browser by interacting with a JavaScript dialog. The idea is that the slide show parameters will be Ajaxed up to the server, the server will build the new HTML for the player div, and the new innerHTL for the player div will be Ajaxed back down.

What I'm not seeing clearly is how I can get PHP to build up the player div HTML without outputting anything automatoca;;u to the client.  That is, normally when a browser requests a PHP page, the PHP runs and whatever is left automatically shows up in the client' browser.  I don't want that.  I just want what the innHTML for one div to show up and this only because we return it in a Ajax request.

Thanks for any thought.
Steve
Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 2 Answers and 10 Comments.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 2 Answers and 10 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros