Archive:PHP and MySQL Programming/Syntax Overview: Difference between revisions
wikademia>Kencyber |
wikademia>Wikademia m moved PHP and MySQL Programming/Syntax Overview to Archive:PHP and MySQL Programming/Syntax Overview over redirect |
||
| (6 intermediate revisions by 3 users not shown) | |||
| Line 1: | Line 1: | ||
== PHP tags: == | == PHP tags: == | ||
{{ntnes}} | |||
=== '''<?php [code] ?>''' === | === '''<?php [code] ?>''' === | ||
| Line 45: | Line 45: | ||
Which will output something like ''2005-11-09 19:40:05''. | Which will output something like ''2005-11-09 19:40:05''. | ||
[[]] | |||
== Commenting == | == Commenting == | ||
| Line 349: | Line 350: | ||
function who_am_i() { | function who_am_i() { | ||
echo "My name is {$this->name | echo "My name is {$this->name}, and I am a dog"; | ||
} | } | ||
} | } | ||