On Sat, 21 Aug 2004 12:54:15 -0500, Shawn McKenzie <[EMAIL PROTECTED]> wrote:
> Turbo wrote:
> > Hi,
> >
> > I have array variable and string variable.
> > I want to replace value of array by key of array in string variable
> > with preg_replace().
> >
> > Example :
> > $message=array(
> > 'name'=
Turbo wrote:
Hi,
I have array variable and string variable.
I want to replace value of array by key of array in string variable
with preg_replace().
Example :
$message=array(
'name'=>'My Computer',
'version'=>'1.0'
);
$strValue="I am $name,build version $version\n";
How's to replace?
Yingyos
Why
2 matches
Mail list logo