Reply to Re: add item to shopping cart problem

Your name:

Reply:


Posted by JDS on 07/19/05 19:10

On Tue, 19 Jul 2005 14:28:35 +0200, Josef Blösl wrote:

> have anyone a idea how to fix this problem?

There are several ways.

One is to include some sort of tracking variable and only do the update if
the tracking variable is flagged correctly.

Another, and the way I would do it, is to use a different PHP script
entirely to do the actual form processing, and send the browser to the
correct "results" page using header("Location: blah.php");

Thus you would have an invisible processing-only PHP script that redirects
the user on completion to the proper results page.

I hope this makes sense.

--
JDS | jeffrey@example.invalid
| http://www.newtnotes.com
DJMBS | http://newtnotes.com/doctor-jeff-master-brainsurgeon/

[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

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