The Zope Book (version 2.7, http://www.plope.com/Books/2_7Edition/ZPT.stx#1-8) implies that you can’t do “SQL queries” from Zope Page Templates. If this implication is correct, I (for one) have a problem, as I’m trying to do all my work with ZPTs (rather than DTML) in order to use my WYSIWYG HTML editor (DreamWeaver) to design my pages.
The RDB chapter in the Zope book (http://www.plope.com/Books/2_7Edition/RelationalDatabases.stx#1-10) shows a ZPT example that works for getting retrieved data from the database through ZSQL objects onto web pages. But I haven’t found an example of a ZPT for an HTML form that can take data from the web page into the database.
Could anybody tell me how to do this, or point to a reference that does? In case it matters, the DBMS I’m using is MySQL.
- Ken Winter
_______________________________________________ Zope-DB mailing list Zope-DB@zope.org http://mail.zope.org/mailman/listinfo/zope-db