Reply to Re: problem execution order

Your name:

Reply:


Posted by luigi7up on 01/22/07 11:10

I solved the problem by executing includes at the beginning of
index.php and holding them up in $htmlOutput

variable. That way everything is executed before and information that
module gets from DB are "up to date"

Thanks...

J.O. Aho wrote:
> luigi7up wrote:
> > Aho, thanks for your reply.
> > Of course I could have done it with moving div around with CSS position
> > but I realy don't like that kind of solving this problem...
> > I was thinking of some Javascript that would be called at the end of
> > execution of the part that is making INSERT. That javascript would
> > refresh cart status...
>
> If you have the cart in it's own frame, thats no problem, as long as the use
> has javascript enabled.
> If you have only one page with everything in it, then I do suggest two methods
> 1. Use div and make the cart checkup last
> 2. Save all output to variables, when you done all that is to do, set
> together the variables in a such manner that you get the final output.
>
> There is an third option, but it will just make things more complicated for
> you, use AJAX.
>
> --
>
> //Aho

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация