Quote:
Originally Posted by nhawk
I hope I don't confuse things for you, but your entire form should be in the template being used (<form>...<div>...<input>...</div>...</form>... etc). Then when the submit button is clicked, send the data collected to the PHP file that processes it.
|
Yeah, that would be another way to do it, but since the form code has calls to php functions in it, I thought it would be easier to use the ob_start()...ob_end_clean() thing. If you put it all in a template you'd ahve to take out the php calls, assign them to variables, register them, etc.