If no one else can help you, I'll put together an example for you tonight
(tied up this afternoon)

On Fri, Oct 2, 2009 at 12:07 PM, znafets <znaf...@googlemail.com> wrote:

>
> >     not sure why you think it doesn't work; it should work just fine:
> >
> >     x = request.args[0]
> >     y = request.args[1]
>
> well, as soon as I try something like args=[uname, uloc] in the view
> it comes up with "Invalid request".
> args=[uname] works just fine and can be retrieved via request.args[0]
>
> working on linux (ubuntu karmic), python 2.5, web2py 1.67x
>
>
> > > row=db(db.user.uname==request.args[0]).select()
>
>
> can you give me a hand on this ? Trying to take the value which comes
> back from the view (username) and can be retrieved form request.args
> [0] and get the according record with all the it's fields to iterate
> through it.
> If it's not asked too much.
>
> best regards
> Stefan
> >
>

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

Reply via email to