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 "", "some text" > type=hidden name="eventid" value='''+str(varia

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 "", "some text" '''" I know that it isnt very creative, but I am having a hard time getting html to work together with python. When the link "some text" is clicked I want to send both the first variable called v

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" wrote in message news:[EMAIL PROTECTED] > Hi. > > Sorry forgot to post a "non-working" example > > That coul

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 "", "some text" type=hidden name="eventid" value='''+str(variable_name)+'''>'''" > > I know that it isnt very creative, but I am having a hard time getting html > to w

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 "", "some text" '''" I know that it isnt very creative, but I am having a hard time getting html to work together with python. When the link "some text" is clicked I want to send both the first variable called variable and

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 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 ''' value='''+str(variable_name)+'''>''' > > This works fine, the problem occurs whe

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 '' This works fine, the problem occurs when I want to send a variable to a page while using a 1)meta refresh or a 2)Href. 1) and 2) works