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
|
|