A programmer's paradise created by the twist of deliberated fantasies, and actions of a determined imagination.
Follow ME:
Our world is now compressed, made tiny, and is traveling inside its axis called the "network". Her images are displayed in the screen of a PC monitor, and inside, people can meet there ... Through my programs and applications.

Add to Google
Batch-After-Batch Multi Uploader (FLASH)
The normal way of browsing files and uploading them. You can select multiple files from a single directory browsing. If you have browsed a f ...


HEREDOC and NOWDOC are two robust ways in displaying contents in your document.

heredoc text behaves just like a double-quoted string. In a double-quoted string, the parser will greedily take as many tokens as possible to form a valid variable name when a dollar sign ($) is encountered.

heredoc syntax:
$str = <<<EOF
Your content here ...
NOTE: EOF there is your identifier and can be named to anything. Demonstrating the heredoc's power:
$greeting = 'Hello';
$str = <<<MYDOC
$greeting Philippines !!!
Mabuhay !!!

echo $str;
Output: Hello Philippines !!! Mabuhay !!! nowdoc as of PHP 5.3.0 behaves just like heredoc but without parsing the content. Meaning, if you want to display a block of static text then it's much faster to use nowdoc because a greedy string-parsing process will not be made. nowdoc syntax:
$str = <<<'EOF'
Your content here ...
IMPORTANT: Do not indent the closing identifier.