Re: Problem with sending a variable(python) while using html

2005-04-28 Thread Kent Johnson
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

Re: Problem with sending a variable(python) while using html

2005-04-28 Thread Hansan
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

Problem with sending a variable(python) while using html

2005-04-27 Thread Hansan
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

Re: Problem with sending a variable(python) while using html

2005-04-27 Thread Hansan
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.

Re: Problem with sending a variable(python) while using html

2005-04-27 Thread Jaime Wyant
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

Re: Problem with sending a variable(python) while using html

2005-04-27 Thread Hal Rosser
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