Re: combining string values

From: Date: Thu, 01 Jan 1970 00:00:00 +0000
Subject: Re: combining string values
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-187005@lists.php.net to get a copy of this message
$finalvalue = $path.$filename; Tommy Atherton wrote:
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 --- avast! Antivirus: Mensaje ENTRANTE limpio. Base de datos de Virus (VPS): 0422-0, 25/05/2004 Fecha: 26/05/2004 17:57:17
-- Miguel J. Jiménez ISOTROL, S.A. (Área de Internet) Avda. Innovación nº1, 3ª - 41020 Sevilla (ESPAÑA) mjjimenez AT isotrol DOT com --- http://www.isotrol.com ICQ# 12670750 TLFNO. 955036800 ext. 111

« previous php.general (#187005) next »