Concatenate using: . <?php
$stringA = "Hello from"; $stringB = "over here!"; $stringC = $stringA . " " . $stringB; ?> HTH Craig "Tommy Atherton" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > hi > > I have a problem, I'm trying to combine the value of two strings > together into a final string. For example > > $path = '/tmp/photos/'; > $filename = 'pic1.jpg'; > > $finalvalue = $path + $filename; (I know that the + is not used its > there for explanation only) > > The value for path will remain constant (for the time being at least > although) but the value for filename will be read from a database so > that will change. > > Anyone care to help??? > > thanks in advance > > Tommy > > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php