I want to bring back records from a database into an HTML form and populate all the text boxes with values from the database. This is so I can alter the text then update it. This works perfectly ok where a text box is filled with a single word e.g. a surname. If however. I try to fill the value with a multiple word string e.g. address of "125 Smith Street", only the "125" is displayed. If I print the record to the screen, outside of the form, it displays the full address correctly showing the correct record is being retrieved from the database.
Any ideas where I am going wrong.
Any ideas where I am going wrong.