[Zope-DB] form-controllerPythonScript-ZSQL

javi lopez javi80mix at gmail.com
Wed Mar 7 04:35:04 EST 2007


Hello everyone:
 i´m doing a form where i get email and one ask. when I check that
email is valid, I do Controller Python Script where i want to create:
- DB conecction
- ZSQL method to modify DB
- get user session
 and after i call a zpt, it tell me that all it´s ok

DB conection:

db_system_type = REQUEST.get('db_system_type', 'mysql')

from Products.ZMySQLDA import DA

DA.manage_addZMySQLConnection(self, db_conn_id, '',
REQUEST.get('db_conn_str', 'zforum at localhost zforum zforum'))

zsql:
how to do it????

Thanks for your help


More information about the Zope-DB mailing list