You are here: Re: Need another set of eyes on this « PHP Programming Language « IT news, forums, messages
Re: Need another set of eyes on this

Posted by Christoph Burschka on 11/02/07 16:03

Shelly wrote:
> Good tip. Thanks. I ususally do that. In this case, however, the html is
> being prepared for an email and so it has to be done this way.

Mh... I can think of a way to get around that (though probably overkill in this
case):

<?php
ob_start(); // redirect all output to the buffer.
?>

some html here, which will go to the buffer instead of the screen.

<?php
$email_text = ob_end_clean(); // get buffer content, clear buffer, stop buffering.
?>


--
Christoph Burschka

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация