hey all,
first time working with php and learning the simplest of the simple.
I'm a little confused with using concatenation.
I'm trying to get this simple echo statement to work.
<? php
$firstName = "Bob"
$lastName = "Jones"
$email = "bobjones@yahoo.com"
echo "Hello, my name is".$firstName."".lastName."any my e-mail is".$email;
?>
The desire is obviously to render the statement:
Hello, my name is Bob Jones and my e-mail is bobjones@yahoo.com
except it appears as
Hello, my name is Bob Jonesand my e-mail isbobjones@yahoo.com
So, the concatenation worked with the first string and the two variables but not with the second string and third variable.
Any help would be appreciated.
Thanks