On Thu, 26 Mar 2009 18:05:54 +0100
Jose vicente Ribera pellicer <rails-mailing-l...@andreas-s.net> wrote:

> I donĀ“t know PHP, and I understant this lines:
> <?php
>   if(isset($_POST)): echo("Value is: ".$_POST["input-rating"]); endif
> ?>
> 
> Anybody that works with PHP too can says me the equivalence for rails??

Post parameters are available in the view via the params method. Are you 
seriously trying to put PHP code in your views? Or do you want to port the php 
to ruby?

SH

-- 
Starr Horne
Check out my Helpdesk RailsKit: http://railskits.com/helpdesk/


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to