If statement within a variable?

From: Date: Thu, 30 Aug 2001 15:59:44 +0000
Subject: If statement within a variable?
Groups: php.general 
Request: Send a blank email to php-general+get-65304@lists.php.net to get a copy of this message
Hello, Is there a way to put an if statement in a variable? For example: $var = "Hello".IF($var2 = 1) { ."Mr. Bean". } else { ."New Comer". }." To The Coffee House."; Thank you, Brandon Orther

« previous php.general (#65304) next »