Hi to all (wonderful!) moderators/experts...Running my scripts for my eventual (sometime soon???) website; xampp has been my friend! But, have now a problem: xampp stops execution of the remainder of the script, apparently AFTER an " include '(correct path to file)' ; " statement. (This statement is exactly written: include 'C:\xampp\htdocs\temp_dev\xxx.php'; )
And, the execution of the include is also flawed - not the desired result.
This is the situation...I correctly ran a script "one" with the indicated include statement (script for a header with specific colors and font)- it executed perfectly - the header was perfect, and the remainder of the page was complete with text - all expected results.
But, in running script "two", with the same exact include statement: The RESULT is a header with an incorrect font (but all other details OK), AND nothing else on the page...ie, execution was stopped or interrupted, seemingly after the include statement was (incorrectly) executed.
I've run separately, the header script, script one WITH the include, and script two WITHOUT the include - all run perfectly, as I've just specified. But, once I ADD the include statement into ANY OTHER SCRIPT - I've tried other scripts, with and without the include - EXCEPT script one, the result is a flawed header, and nothing else, on that page. I've scrutinized the code (mostly php) before the include, and in most scripts, this preceding code is exactly what is in script one (again, runs perfectly), so this is not a probable culprit. In most scripts, the code that follows the include is mostly html, for text and images.
Can anyone PLEASE assist? Pls reply if you need additional info. --- Thankyouthankyouthankyou for reading this plea, and for assistance! ("tearing my hair out" in frustration)
LL in pgh