DZone Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world

Saul has posted 2 posts at DZone. View Full User Profile

PHP - Generate Multiline Html (or Any Text) From Php Code

03.12.2010
| 2836 views |
  • submit to reddit
        // description of your code here

echo sprintf(<<<EOF
<input type="text" name="myInput">
<input type="hidden" name="myID">
EOF