Hi,
in the web2py official book, in the image blog example,
Could anyone help explain what the following line mean?
image = db(db.image.id==request.args(0)).select()[0]

I duplicate the same code but I find URL
htttp://127.0.0.1:8000/images/default/show
gives me an error, "index out of range"

How do I fix it?

Thanks,


-- 
Subscription settings: http://groups.google.com/group/web2py/subscribe?hl=en

Reply via email to