Do all logical things before you start outputting html. This fixes most problems and makes it easier to use templates.
----- Original Message ----- From: "Wade" <[EMAIL PROTECTED]> To: <php-list@yahoogroups.com> Sent: Monday, April 25, 2005 11:20 PM Subject: Re: [php-list] order of function calling > 04252005 1619 GMT-6 > > yea. At the end of the form I load a variable into $_SESSION['reject'] = > "appid"; But at the beginning of the page I have a Reject Application > button. Im not using frames but CSS. On the left div is the buttons that > work on the data. On the right div is the application data. > > Wade > > > > Patrick Bierans wrote: > >> JS can not read php server side session data because it's clientside. >> How are you accessing session data? With $_SESSION? And are you using >> frames? >> >> ----- Original Message ----- >> From: "Wade" <[EMAIL PROTECTED]> >> To: <php-list@yahoogroups.com> >> Sent: Monday, April 25, 2005 11:04 PM >> Subject: [php-list] order of function calling >> >> >> > 04252005 1602 GMT-6 >> > >> > I have a variable that sets data in a session after a form is loaded. I >> > have a function that uses data from the Session that is loaded at the >> > top of the page. The function at the top doenst have access to data >> > that >> > hasnt been loaded yet. Is there a way to have the function check the >> > session after the whole page is loaded? >> > >> > Besides JS? >> > >> > Wade >> > >> > >> > [Non-text portions of this message have been removed] >> > >> > >> > >> > Community email addresses: >> > Post message: php-list@yahoogroups.com >> > 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 >> > >> > a.. To visit your group on the web, go to: >> > http://groups.yahoo.com/group/php-list/ >> > >> > b.. To unsubscribe from this group, send an email to: >> > [EMAIL PROTECTED] >> > >> > c.. Your use of Yahoo! Groups is subject to the Yahoo! Terms of >> Service. >> > >> > >> >> >> >> Community email addresses: >> Post message: php-list@yahoogroups.com >> 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] >> <mailto:[EMAIL PROTECTED]> >> >> * Your use of Yahoo! Groups is subject to the Yahoo! Terms of >> Service <http://docs.yahoo.com/info/terms/>. >> >> >>------------------------------------------------------------------------ >> >>No virus found in this incoming message. >>Checked by AVG Anti-Virus. >>Version: 7.0.308 / Virus Database: 266.10.3 - Release Date: 4/25/2005 >> >> > > > [Non-text portions of this message have been removed] > > > > Community email addresses: > Post message: php-list@yahoogroups.com > 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 > > a.. To visit your group on the web, go to: > http://groups.yahoo.com/group/php-list/ > > b.. To unsubscribe from this group, send an email to: > [EMAIL PROTECTED] > > c.. Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. > > Community email addresses: Post message: php-list@yahoogroups.com 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/