Quote:
Originally Posted by Weird1993
Output from my run:
|
That appears to be the result of putting your
PHP code into a page / URL that wasn't parsed by
PHP - perhaps giving the file a ".
html" extension rather than a ".
php" one? The rest of the code is seen as junk by your browser, leaving just the code you quoted visible. If you do a "view source" you'll see the function and all the
PHP.
I doubt whether that's the problem that
dcarson was reporting - but it just may be. Actually, this is a very good example of the need to explain
how something fails - if it fails in the way you report, it's a file naming issue but if (as I suspect) dcarson is seeing a different set of symptoms, my answer here won't help him.