Re: [PHP] replace value of array by key of array in string variable with pre g_replace()

2004-07-26 Thread Jason Wong
On Monday 26 July 2004 10:09, Turbo wrote: > 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 versi

[PHP] [Fwd: IMPORTANT: Please Verify Your Message]

2004-07-26 Thread EE
What is this? I got this message few times from php.net... --- Begin Message --- Title: Verify Email Hello [EMAIL PROTECTED] , [EMAIL PROTECTED] is currently protecting themselves from receiving junk mail using Spamcease Just this once, click the link below so I can receive your emails. Yo

Re: [PHP] Re: If...Or...Else

2004-07-26 Thread Thomas Goyne
On Mon, 26 Jul 2004 11:11:21 +0300, Skippy <[EMAIL PROTECTED]> wrote: Quoting Thomas Goyne <[EMAIL PROTECTED]>: On Sun, 25 Jul 2004 23:15:41 +0300, Skippy <[EMAIL PROTECTED]> wrote: > Any idea why the need to have two logical operators with the same > meaning BUT > different precedences? I dig the

RE: [PHP] Re: If...Or...Else

2004-07-26 Thread Ford, Mike [LSS]
On 25 July 2004 21:16, Skippy wrote: > Any idea why the need to have two logical operators with the > same meaning BUT > different precedences? I dig the need to put in OR as an > alias, but why > confuse people with the precedence issue? One would tend to > think || and OR > are perfectly inter

RE: [PHP] Re: Embedding JavaScript into a PHP generated web page

2004-07-26 Thread Ford, Mike [LSS]
On 26 July 2004 01:13, Robert Frame wrote: > OK, now I am bewildered again. > > Sample Code > > > echo '';