troubleshooting Question

Why does this header cause a problem?

Avatar of Bruce Gust
Bruce GustFlag for United States of America asked on
7 Comments1 Solution352 ViewsLast Modified:
Head out to No biggie, just the mobile version of the page.

I've got dilemma, however, and I'm at a loss as to why it's happening.

I need to swap out the header on this page with something else that will allow for a little drop down animation that alerts the user to the possibility of adding the page to their mobile device as an icon. The script works great and I can put it in the header where it belongs without any issue, but...

I don't want this script to run on any other page beside the view_contestants.php page. Yet, when I change the code from require_once('header.php') to require_once('header_script.php') only a portion of the page is shown and I don't understand why or how to fix it.

For the sake of trying to eliminate problems, I kept the two files - header.php and header_script.php exactly the same. But when you go to, you'll see that only half the content is displayed. Why and how do I fix it?
Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 1 Answer and 7 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 1 Answer and 7 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