Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

php append string

<?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 #append #string
ADD COMMENT
Topic
Name
8+2 =