a, i understand right now, thank you for detail explaination, anthony.
after now that, i still have a question
def order_update():
id=int(request.vars.id)
qty=int(request.vars.qty)
session.order.get(id, 0)=qty
session.order[id]=session.order.get(id, 0)
return locals()
why in session.order.get(id, 0)=qty is not going to work, it returns an
error, therefore, in pos online store something like that can work?
in pos online store appliances :
session.order[id]=session.order.get(id, 0)+1
--
---
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.