ower_own_php_wiki
Differences
This shows you the differences between two versions of the page.
ower_own_php_wiki [2007/09/14 01:44] – created roumani | ower_own_php_wiki [2007/10/03 05:06] (current) – cs241101 | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== Our Own PHP Wiki ====== | ====== Our Own PHP Wiki ====== | ||
+ | echo processes statements within single quotes and double quotes differently: | ||
+ | |||
+ | <code php> | ||
+ | $name=Robot; | ||
+ | echo ' | ||
+ | echo " | ||
+ | </ | ||
+ | |||
+ | The output will look like: | ||
+ | <code HTML> | ||
+ | Hello, $name | ||
+ | Hello, Robot | ||
+ | </ | ||
+ | |||
+ | So when you have a string in single quotes, it prints everything as it is (" | ||
+ | |||
+ | View more details on **[[http:// | ||
+ | |||
+ | |||
ower_own_php_wiki.1189734299.txt.gz · Last modified: 2007/09/14 01:44 by roumani