News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Community News:
HTML2PHP - Transformation Tool
January 24, 2006 @ 07:11:39

Via a post over on digg.com today, there's an interesting little tool called HTML2PHP that could be useful in some certain situations.

The tool takes in whatever text input you have and performs operations on it. For example, paste in some HTML and hit the button to submit it and out the other side pops HTML formatted to echo in PHP (using print). There are other options on the tool - the ability to use printf and echo along with print, to add in newlines, and to add parenthesis (depending on your preference).

It's nothing overly impressive, but if you have a large block of HTML that you need to work with, you might check into it...

0 comments voice your opinion now!
transform html text echo print printf transform html text echo print printf


blog comments powered by Disqus

Similar Posts

Geeks Not Nerds Blog: Rolling your own Blog Backend from Scratch Part 1

PHP-GTK Community Site: Which editing widget do you use in your PHP-GTK apps?

Wojciech Sznapka: Export colored Behat scenarios to PDF

Michael Maclean's Blog: Using Pango for PHP: a taster

DevShed: User-defined Interfaces in PHP 5 - Turning MySQL Classes into Interface Implementers


Community Events





Don't see your event here?
Let us know!


api deployment opinion introduction framework list interview community bugfix laravel install package release language symfony series podcast voicesoftheelephpant library tips

All content copyright, 2014 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework