Hansan wrote:
Hi.
Sorry forgot to post a non-working example
That could be
print a href=script.py?id=, variable, ', some text input
type=hidden name=eventid value='''+str(variable_name)+''/a
I know that it isnt very creative, but I am having a hard time getting html
to work together with
Thanks for you help, it is working now :D
Take care
Kent Johnson [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Hansan wrote:
Hi.
Sorry forgot to post a non-working example
That could be
print a href=script.py?id=, variable, ', some text input
type=hidden name=eventid
Hi all.
I am working on a webpage where I use python and html.
When I want to send one variable to a new script/page I use the following
code:
0) print '''input type=hidden name=eventid
value='''+str(variable_name)+''
This works fine, the problem occurs when I want to send a variable to a
Hi.
Sorry forgot to post a non-working example
That could be
print a href=script.py?id=, variable, ', some text input
type=hidden name=eventid value='''+str(variable_name)+''/a
I know that it isnt very creative, but I am having a hard time getting html
to work together with python.
On 4/27/05, Hansan [EMAIL PROTECTED] wrote:
Hi.
Sorry forgot to post a non-working example
That could be
print a href=script.py?id=, variable, ', some text input
type=hidden name=eventid value='''+str(variable_name)+''/a
I know that it isnt very creative, but I am having a hard
append eventid=str(variable_name) to the url in the link
The hidden field is not sent unless the form is submitted.
If you use the link - you send the data appended to the url
Hansan none wrote in message
news:[EMAIL PROTECTED]
Hi.
Sorry forgot to post a non-working example
That could be