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


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
> [snip]
> In Perl you could print a block of information as it was written like
> print <<HTML_END;
> This a whole bunch of HTML code!!!
> The best part about this, was that you did not have to escape your " and
> could mix in your variables making it easy to design and layout the HTML.
> there a similiar way to do this in PHP?
> [/snip]
> $variable = <<< HERE
> all kinds of stuff
> 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

Reply via email to