RE: [PHP4BETA] Asking for the impossible?

From: Date: Fri, 24 Mar 2000 21:41:19 +0000
Subject: RE: [PHP4BETA] Asking for the impossible?
References: 1  Groups: php.version4 
Request: Send a blank email to php-version4+get-12572@lists.php.net to get a copy of this message
> > Why not just assign $cart->show() to a variable immediately before the > print? > The idea is to use here docs as a template for creating web pages. Ultimately, the here doc may reside in an entirely different file that is not written by the php developer. While one certainly could assign a variable immediately before running the here doc, it sure would be nice to able to call class methods within the here doc. I gave an example in the previous e-mail. > > > print <<< END > > > <HTML> > > > Status: {$cart->show()} > > > Count: {$cart->count} > > > </HTML> > > > END; > > > > > >

« previous php.version4 (#12572) next »