Unable to display the full session variable in a html form

I have a page where people can update their personal account settings. It populates the form fields with variables that are stored in the session. Even though the variable often has two or more words in it, the form is only displaying the first word. In the example below, only Healing shows up in the companyName field. This is really weird and was wondering if anyone had any ideas on why this is happening.

Thanks!

[companyName] => Healing Spices

Are you properly quoting the value in the HTML form? i.e.:

<input type=“text” value=“Some value” />

If you don’t put them in quotes, the form will drop everything after the space.

Thank you, that did the trick.