To start off - I'm so new, I'm still shiny on the bottom. :o
I am trying to create a moderately complex set of consecutive forms in order to provide a quote for customers to a retail business site. Input data from the first form (page1.html) is sent via the POST method to the action=page2.phtml (.phtml according to my server-god: Brian). All the data is parsed correctly from page1 to page2. Most of the data is used to create further questions before going to the final page (quote.phtml) .
I use this: $heat_system=$_POST["heat_system"]; to retrieve the data on page2 and then the data that needs to be sent again is sent using echo '<input type="hidden" name="heat_system" value=" '.$heat_system.' " />';
Again the method is POST and action=quote.phtml.
The problem is when the data string from page1 contains two or more words, only the first word arrives on the last page - quote.phtml. (i.e. $heat_system='No Heat') 'No Heat' arrives fine on page2.phtml but when sent along to quote.phtml $heat_system only receives 'No'.
What happened to the last part of my string and why?
Thanx