From: Jonathan Maasland Date: 2006-03-07T14:48:40+09:00 Subject: Re: How to print stuff in RTHML embedded code (equiv to php "echo")?? It's a simple as: <%= "hello world!" %> See also: http://www.ruby-doc.org/stdlib/libdoc/erb/rdoc/classes/ERB.html Hope this helps, Jonathan Namor wrote: > Hi I got a very noob question which i cant understand why i cant do > things like this...... > > > eg... inside. > helloworld.rhtml > >

> <% > puts "hello" > puts "world" > puts "something something" > %> >

> > > I know i can do this easily in php > echo "yes this works" > echo "testing 123" > echo "yes this works" > ?> > > Can someone help me? >