Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
- is "EOFORMPAGE" simply not used?
May 13, 2005, 6:33 am
rate this thread
I'm developing a website in PHP - it's my first one... :-)
Somewhere (I'm not sure where) I've come up with the function:
"EOFORMPAGE". I use it like this:
$content = <<< EOFORMPAGE
This enables me to use straigt HTML, put in in a variable ($content in
this case), and add the content of the variable $test in this case as
well. This works very good. It is especcially usefull when working
with JS, as I'm not limited by problems with quotes.
My concern: I cannot find another example of this function
"EOFORMPAGE" /at all/. Is it not used? Frowned upon? Depricated? Can
someone help me out on this one, as I would not like to write code
that is considered 'bad'.