You are here: Re: problem execution order « All PHP « IT news, forums, messages
Re: problem execution order

Posted by J.O. Aho on 01/18/07 06:23

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

 

Navigation:

[Reply to this 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

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