Re: Re: output the var $ name

From: Date: Tue, 27 Jun 2000 21:45:15 +0000
Subject: Re: Re: output the var $ name
Groups: php.general 
Request: Send a blank email to php-general+get-3461@lists.php.net to get a copy of this message
> echo "The variable \$foo equals: $foo<BR>\n"; > echo 'The variable $foo equals: ' . $foo . '<BR>\n"; > echo 'The variable $foo equals: ', $foo, '<BR>\n"; > echo( "The variable \$foo equals: $foo<BR>\n" ); > print "The variable \$foo equals: $foo<BR>\n"; > print 'The variable $foo equals: ' . $foo . '<BR>\n"; > print( "The variable \$foo equals: $foo<BR>\n" ); > > ?> > The variable $foo equals: <?=$foo?><BR> > The variable $foo eqhals: <? echo $foo ?><BR> > <? > I'm sure there are others. echo <<<END The variable \$foo = $foo<BR> END; echo " The variable \$foo = $foo<BR> ";

« previous php.general (#3461) next »