Re: Euphoria as Apache Module
- Posted by cklester <cklester at yahoo.com> Aug 09, 2005
- 558 views
Patrick Barnes wrote: > > 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... I was just showing that you don't have to define a function and then call the function... you can just put straight PHP into the HTML. -=ck "Programming in a state of EUPHORIA." http://www.cklester.com/euphoria/