TOP TECH
  Learn How to.....
Welcome IT Related Articles Member Area  |  Sign In  |  Sign Up
.: Home :.
General
HTML
CSS
PHP
PHP-MySQL
FrontPage
Photoshop
CorelDRAW
PageMaker
MS Office
VisualBasic
All
.

.: Home :.

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

 



Comments


© 2009 Top Sri Lanka Top Tech.
Articles Manager β - Script by: DynamicCodes.com