Home >> PHP - MySQL PHP with example codes - 1.2 [Page 4] Article by: Shelton Manage Friday, 22nd May, 2009
Concatenating Strings
Concatenating an importnt tool when creatings dynamic web site- is addition for strigs and is perfored using the period(.)
$name = $first_name . ' ' . $last_name; So that space is added to the mix.
$author = $first_name . ' ' . $last_name; echo "The book $book was written by $author.";
Ex: strings_concat.phps | strings_concat.php
Page: First - 1 2 3 4 5 6 7 8 9 10 - Last
|