On Wednesday, January 13, 2016 at 9:52:17 AM UTC+8, tdsp...@gmail.com wrote: > 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
Hi Chris %r worked a treat thanks Colin -- https://mail.python.org/mailman/listinfo/python-list