Try to use "."
$var1="test";
$var2="join";
$var3=$var1." ".$var2;
echo $var3; //will print "test join"
--


Best regards,
George Nicolae
IT Manager
___________________
PaginiWeb.com  - Professional Web Design
www.PaginiWeb.com


"Stephen Rivas Jr" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Again, looking in PHP.net for help - unable to proceed.
>
> I'm trying to add a variable string, to another literal string and store
it
> in that variable again. I know it  can be done, simply. However, I always
> get "0" when I add them...
>
> $rider_name += "<br>";
>
> I want to take the information from my form, add some html, put in an
> array - then write it to a file that looks good for printing.
>
> How can I make a long string of HTML and then write in a variable, then
> continue adding to my HTML string...like this:
>
> $html_page_string = "<html><head><title>" + $page_title +
> "</title></head><body>";
>
> etc...And then later add to it after I've inserted my other variables and
> HTML code:
>
> $html_page_string += "</body></html>";
>
> I think this can be done in JavaScript but ah....Can it in PHP? Thanks a
ba
> jillion.
>
> Stephen Rivas Jr
> [EMAIL PROTECTED]
> http://www.throttlehead.com
>
>



-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to