[Zope-DB] ZSQL Method

Rajan Singh singhwarrior@yahoo.co.in
Mon, 15 Apr 2002 16:33:32 +0100 (BST)


I tried creating the following ZSQL Method but it gave
me an error:


select * from <dtml-sqlvar mytable_name type="string">


The thing i wanted to achieve was to pass the name of
the table as a parameter and then create an sql
statement for it.

Could please advise me on how to do it. I am using
MySQL.

Thank you.
Rajan


________________________________________________________________________
For live cricket scores download  Yahoo! Score Tracker
 at: http://in.sports.yahoo.com/cricket/tracker.html