Hello!
I'm trying to pass the form parameters from page template to zsql method.
A piece of code follows:
form action=clients_add_sql
input type=text name=name
input type=text name=account
input type=submit
/form
clients_add_sql:
insert into table(name,account) values (dtml-sqlvar name
Denis V. Gudtsov wrote:
form action=clients_add_sql
input type=text name=name
input type=text name=account
input type=submit
/form
clients_add_sql:
insert into table(name,account) values (dtml-sqlvar name type=string,
dtml-sqlvar account type=string);
the problem is when i click the 'submit'
Denis V. Gudtsov wrote:
DLK use an intermediary Script (Python), ie:
[..skipped..]
Thank you. But, can i do this without using python? From zpt - to
zsql?
[cc-ing: [EMAIL PROTECTED]
well, yes in a way.
ZSQL methods have to be called like other metods, but AFAIK, they cannot
be
Jean-Marc Orliaguet wrote:
Dario Lopez-Kästen wrote:
Denis V. Gudtsov wrote:
DLK use an intermediary Script (Python), ie:
[..skipped..]
Thank you. But, can i do this without using python? From zpt - to
zsql?
Just curious too: isn't there an easier way of doing this
On Thu, Oct 27, 2005 at 10:23:52AM +0200, Dario Lopez-Kästen wrote:
Not sure if this works, but that is the general idea. This was inspired from
http://www.plope.com/Books/2_7Edition/AdvZPT.stx#2-9
section: Form Processing
I would suggest to give it a try with a Z Search Interface. See
Dario Lopez-Kästen wrote:
Jean-Marc Orliaguet wrote:
Dario Lopez-Kästen wrote:
Denis V. Gudtsov wrote:
DLK use an intermediary Script (Python), ie:
[..skipped..]
Thank you. But, can i do this without using python? From zpt - to
zsql?
Just curious too: isn't there