I am trying to create a form that will populate the fields with data from my database. I want this form to be used to update the existing data in my database. I am using the following code:
<input type=text size=40 name=fname value =<?php echo $row["fname"]; ?>>
This works; however, if there is a space it only shows the first word. For example, if my data for address is "123 Main Street" it will only display "123". Or if I have two words for my employer field "Acme Engineering", it will only display "Acme". Is there a way to fix this?
Thanks for your help in advance.