Explanation The declare statement is used to set execution directive for a block of codes.
Monthly Archives: April 2012
php implode keys with vars multidimensional array
Function to variation on implode_with_key:
php Alternative syntax for control structures
PHP offers an alternative syntax for some of its control structures; namely, if, while, for, foreach, and switch. In each case, the basic form of the alternate syntax is to change the opening brace to a colon (:) and the closing brace to endif;, endwhile;, endfor;, endforeach;, or endswitch;, respectively. (PHP 4, PHP 5)
PHP HTTP Headers
Modify HTTP Headers (Examples) Many examples that show how to use the header() function of PHP
What is PHP_EOL in PHP?
When you run PHP in a web server, "\n" and "\r\n" will not do anything (it literally just separates the code into different line breaks). <br> makes a new line in HTML (hence "line BReak"). Since you are viewing the PHP in a web browser, it parses the code in HTML. Therefore, "<br>" will make …
Internet Explorer: The Browser You Love to Hate
Microsoft has developed a penchant for self-mockery when it comes to the company’s much-maligned Internet Explorer web browser. Microsoft previously put up a website dedicated to eradicating IE6 from the web, and now it’s promoting IE9 by mocking its predecessors.