|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Stop making mediocre tutorials.The best tutorials are video! Camtasia Studio makes it easy to create engaging, buzz-building screen videos at any size, in any popular format. Download the free trial!
|
|
#1
|
|||
|
|||
|
Hidden form variables
How do I pass hidden form variables in Python. I have a cgi that performs a search on a database. I want to be able to perform subsequent searches on the database after the initial one, however because of the database structure I am unable to save a hitlist then return to it, so I need to pass the previous search details as a hidden variable to the cgi, to get the effect of subsequent searches, does anyone know how I would go about doing that?
tHaNk YoU. NiCkNaMe ![]() |
|
#2
|
||||
|
||||
|
You could put a hidden form field in
<input type="hidden" name="whatever" value="variablevalue"> Then you can access it in Python with the variable name being whatever. Does that make sense? |
![]() |
| Viewing: Dev Shed Forums > Programming Languages > Python Programming > Hidden form variables |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|