View Single Post
  #4 (permalink)  
Old May 7th, 2007, 19:32
Donny Bahama Donny Bahama is offline
Reputable Member
Join Date: Mar 2005
Location: Margaritaville (a state of mind somewhere between Inebriation and San Diego), CA
Posts: 236
Thanks: 4
Thanked 0 Times in 0 Posts
Re: PHP Session Variables in a form

ob_start() needs to go before the DOCTYPE selector, but ob_end_flush() can go anywhere. Personally, I typically place it just before my opening <form> tag. (If you're going to display a form, you're truly ready to output content to the page, right?) This works well for me.
Reply With Quote