Re: Variables within a string

From: Date: Mon, 11 Mar 2002 04:09:15 +0000
Subject: Re: Variables within a string
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-87950@lists.php.net to get a copy of this message
On Monday 11 March 2002 11:10, Chris Cocuzzo wrote: > I would imagine the problem has something to do with those escaped quote > marks, but in any case, you could probably get around it by doing this: > > $foo = "Entry for " . $HTTP_POST_VARS["name"]; > > some correct me if I'm wrong Or simply: $foo = "Entry for for $HTTP_POST_VARS[name]"; -- Jason Wong -> Gremlins Associates -> www.gremlins.com.hk /* If you don't have a nasty obituary you probably didn't matter. -- Freeman Dyson */

« previous php.general (#87950) next »