Hi All

I have written a small web app using cgi for testing for changes to data from a 
python script that does a lot of database updating depending on certain 
conditions 

form = cgi.FieldStorage()
cRefNo = form.getvalue('refno')


cElectSupp = form.getvalue('electsupp')


 print('<font size = 3 color = "black">Electrical Supplier : <input type="text" 
name="electsupp" value=%s>'%cElectSupp)


If i change the value from origin to origin energy and save - the value updated 
to the database is correct but when the page is re displayed it only
shows origin in the text field - as if it ignores everything after the space.

How do I make it display the full name.

Cheers

Colin
-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to