Re: [PHP] HTML and PHP output to PHP variable

2004-07-12 Thread Maris
Thanks a lot Miroslav, will try this construction! :) "Miroslav Hudak" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > hello! > > use output buffering... > > ob_start(); >//... your code here >$_contents = ob_get_contents(); >ob_end_clean(); > ?> > > regards, > m. >

Re: [PHP] HTML and PHP output to PHP variable

2004-07-12 Thread Miroslav Hudak (php/ml)
hello! use output buffering... regards, m. Maris wrote: Hi! Let's say my index.php consists of the following: PHP says Hello World"; ?> HTML says Hello World ..some other HMTL output.. My question is: how can I make the whole index.php generated output put in one PHP variable? It is also importan

[PHP] HTML and PHP output to PHP variable

2004-07-12 Thread Maris
Hi! Let's say my index.php consists of the following: PHP says Hello World"; ?> HTML says Hello World ..some other HMTL output.. My question is: how can I make the whole index.php generated output put in one PHP variable? It is also important that it is done from the same index.php file. Thank