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 3]
Article by: Shelton Manage
Friday, 22nd May, 2009


About Strings

A string is chank of letters, numbers, spaces, punctuation and so forth.
Ex: 'Sunil', 'In watermelon sugar', '1,000', 'Tanuarry 9, 2009'.

// Create the variabls.

$first_name = 'Martin';
$last_name = 'Wickramasinghe';
$book = 'Gamperaliya';

// Print the variables

echo "The book $book was written by $first_name $last_name.";

Ex: strings.phps | strings.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