From: Cameron B. <kj...@or...> - 2005-09-19 19:33:34
|
How do I pass a parameter to a ZMysql method from a page template? For example ZMysql method select_from_users has parameter username. If I try here/select_from_users(username = 'bob') I get an attribute error. This seems a very basic question but after a lot of searching I have been unable to find the answer. I can call the method from ZPT no problem, it's just the parameter part that I can't figure out. Any advice would be appreciated. Regards Cameron |