myProgrammingNote
Saturday, January 1, 2011
php - String Concatenation Operator
The string concatenation operator,
.
is like
+
for numbers.
<?php
$str='the';
$str.='n';
echo $str; //prints out "then"
?>
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment