>> Do all logical things before you start outputting html. >> This fixes most problems and makes it easier to use templates.
> How do you actually 'do' that? I mean, the function that is attached to > the button that gets data from a as-yet-to-be-set session data is on the > left div and the session to be set is on the bottom of the right div. > See, I thought that was what ob_start() was for. To buffer everything > and then output it. > > I have ob_start() at the top of the left div and ob_flush() at the end > of the right div. I thought if it buffered this entire area of php that > the session data could be stored, accessed, and presented. If you have to buffer your output your coding is crap! ;) Just run my application structure example, read the content and look at the code. http://bierans.de/shared/files/application-structure-example-v1.3.zip http://bierans.de/shared/files/application-structure-example-v1.3.rar Community email addresses: Post message: [email protected] Subscribe: [EMAIL PROTECTED] Unsubscribe: [EMAIL PROTECTED] List owner: [EMAIL PROTECTED] Shortcut URL to this page: http://groups.yahoo.com/group/php-list Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/php-list/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
