URL's for multiple variable functions

Ian Forbes <[email protected]>
Newsgroups gmane.comp.web.quixote.user
Organization ZSD
Message-ID <[email protected]>
Hi All

This is a newbie question.

I am trying to display a query from a sql table using quixote. If I want 
to do a simple query it works very elegantly, for example with a simple 
URL:

http://myserver/showuserdetail/<username>

I can write a function for "showuserdetail" and use the _q_lookup 
function to access the <username> and pass it onto the SQL query

But suppose I want user statistics for the month of November. What do I 
use for a URL:

http://myserver/showuserstatistics/<username>/November

or

http://myserver/showuserstatistics/<username>?month=November

and how do I write an "elegant" function to access the required 
variables?

Thanks

Ian


-- 
Ian Forbes ZSD
http://www.zsd.co.za
Office: +27 21 683-1388  Fax: +27 21 674-1106
Snail Mail: P. O. Box 46827, Glosderry, 7702, South Africa
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.