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 '''<input type=hidden name="eventid" > value='''+str(variable_name)+'''>''' > > 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 fine as they are but not when I try to send the variable > with them. > > The working version of 1) and 2) could look like > 1) print ''<META HTTP-EQUIV="Refresh" CONTENT="0;URL=page xxx">''' > 2) print "<a href='page xxx?id=", variable, "'>", "some text", "</a>" >
What exactly does the "non-working" version look like? Perhaps a snippet of broken code would be helpful here? jw -- http://mail.python.org/mailman/listinfo/python-list