title: Enable viewstate in php and Html
body: <p>I am trying to make an html form submit data for processing to a php form. This works fine but when the data is validated and there are errors, somehow the data is cleared from the fields. I will like to know if there is a way to maintain the contents of the form controls even if I call the form on the php page that does the validation. I am a student and am new to php so please forgive me if I sound childish. Any elaborate explanation is welcomed. Thanks in advance</p>