Hi,
anyone can show me the difference between
$foo .="some string or $variable"
and
$foo = "some sting or $variable"
i've seen ppl use the first one in some tutorial page but didn't explain the different between them, hope some expert here could help me out.
Thanks
Whats the difference between...
Moderator: General Moderators
- There are some shortcuts for assignment in php (like in C)
- $a+=$b --> $a = $a + $b
- $a-=$b --> $a = $a - $b
- $a.=$b; --> $a = $a . $b
- ...