Ok so let me ask one last question...... Which it faster, to run my function and part of the function would be to get data from a website and break it into variables then make all the html and variables one new variable for printing
or Get my data put into variables made global and then in my HTML page use tags like <?PHP print $CurrentAmount; ?>. The last one is easier to design with, but may slow things down each time it has to parse out the PHP tag, no? "Jay Blanchard" <[EMAIL PROTECTED]> wrote in message 001a01c22cf3$ef2e01c0$8102a8c0@niigziuo4ohhdt">news:001a01c22cf3$ef2e01c0$8102a8c0@niigziuo4ohhdt... > [snip] > In Perl you could print a block of information as it was written like this; > print <<HTML_END; > > This a whole bunch of HTML code!!! > > HTML_END > > The best part about this, was that you did not have to escape your " and you > could mix in your variables making it easy to design and layout the HTML. Is > there a similiar way to do this in PHP? > [/snip] > > $variable = <<< HERE > > all kinds of stuff > > HERE; > > print("$variable"); > > HTH! > > Jay > > "Two wrongs are only the beginning" > > ************************************* > * Want to meet other PHP developers * > * in your area? Check out: * > * http://php.meetup.com/ * > * No developer is an island ... * > ************************************* > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php