|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Stay one step ahead of the competition. Evaluate and give feedback
on some of the hottest web development tools on the market today.
Make your opinion heard! Click
Here
|
|
#1
|
|||
|
|||
|
I am trying to add the results of a form to a table in database. How can i do it?
|
|
#2
|
|||
|
|||
|
Well... those are two different things but certainly doable. First of all you will need to create the form and be able to get the variables and values out of it. So, post the form to a DTML Method and call those variables.
<dtml-var name_of_variable> Now, you will need to get a database and database adapter set up. After that you create a ZSQL Method that has the insert SQL statement in it. From there you just have to call the ZSQL Method from within your method that handles the form request. BZ |
|
#3
|
|||
|
|||
|
thank you very much!
|
|
#4
|
|||
|
|||
|
No problem. Enjoy. BZ
|
![]() |
| Viewing: Dev Shed Forums > Programming Languages > Python Programming > Form Processing |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|