Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

php glue strings


<?php
$a = "Hello ";
$b = $a . "World!"; // now $b contains "Hello World!"

$a = "Hello ";
$a .= "World!";     // now $a contains "Hello World!"
?>

Source by www.php.net #
 
PREVIOUS NEXT
Tagged: #php #glue #strings
ADD COMMENT
Topic
Name
7+1 =