hi all how we can do get and post value. i made one form and in this form their is two field loginname and password.and when i click on submit button than i t should verify from database and than the next page will arrive .how i can do that. how i can post value and than get it from that from and check .plese tell me yhis all in rubyon rails. hope for reply bye
@request.post? or @request.get? On 4/6/06, parikshit <parikshit.mishra@wwindia.com> wrote:> > > hi all > how we can do get and post value. > i made one form and in this form their is two field loginname and > password.and when i click on submit button than i t should verify from > database and than the next page will arrive .how i can do that. > how i can post value and than get it from that from and check .plese tell > me yhis all in rubyon rails. > hope for reply > bye > _______________________________________________ > Rails mailing list > Rails@lists.rubyonrails.org > http://lists.rubyonrails.org/mailman/listinfo/rails >-------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060406/c1b1baba/attachment.html
On Apr 5, 2006, at 11:15 PM, parikshit wrote:> hi all how we can do get and post value. > i made one form and in this form their is two field loginname and > password.and when i click on submit button than i t should verify > from database and than the next page will arrive .how i can do that. > how i can post value and than get it from that from and > check .plese tell me yhis all in rubyon rails. > hope for reply1) You need to read this: http://tinyurl.com/55oyg 2) params[:loginname] and params[:password] -- -- Tom Mornini