Question using CGI in Python

Ignacio Vazquez-Abrams ignacio at openservices.net
Tue Aug 28 19:26:06 EDT 2001


On Tue, 28 Aug 2001, Maan Hamze wrote:

> oppppsss Sorry
> I mistook name for value.
> In this case nothing should be wrong with:
> Hidden = '<input type=hidden name=AnyNameHere value='+str(VAR1)+'>'
> Then use
> print Hidden
> Maan

Just one leeeeeetle thing...

It's missing quotes:

---
Hidden = '<input type="hidden" name="AnyNameHere" value="'+str(VAR1)+'">'
---

Browsers may be lazy, but there's no reason for the HTML coder to be.

-- 
Ignacio Vazquez-Abrams  <ignacio at openservices.net>





More information about the Python-list mailing list