Re: Euphoria as Apache Module
- Posted by Patrick Barnes <mrtrick at gmail.com> Aug 09, 2005
- 544 views
On 8/9/05, cklester <guest at rapideuphoria.com> wrote: > Patrick Barnes wrote: > > > > <? function sayHello() { return "hello world"; } ?> > > <html><body> > > <? echo "hello world"; ?><br> > > <?=sayHello()?> > > </body></html> > > > > Is identical to: > > <? > > function sayHello() { return "hello world"; } > > echo "\n<html><body>\n"; > > echo "hello world"; > > echo "<br>\n"; > > echo sayHello(); > > echo "\n</body></html>"; > > ?> > > But you don't have to do that. You can just do this: > > <html> > <body> > <? > $hw="hellow world"; > echo $hw; > ?> > </body> > </html> Huh? My example was showing two different ways of embedding inline php code into the HTML markup. Your code is indirectly the same as the first example... -- MrTrick ----------