Re: [PHP-DB] Page refresh question

2005-06-10 Thread han
Hi, I can think of 2 solutions: 1 is an old one I used ages ago, and it was to use javascript to put their choices (onclick, field.value=£3 type of thing) and when they click the OK button it gets sent to php script that sends it to mysql, etc. 2 is pretty much the same but using cookies with

Re: [PHP-DB] Page refresh question

2005-06-10 Thread mihaifrisan
i think that the best solution is to use XMLHttpRequest mihai ps. i don't think is a good idea to save the shopping cart in a cookie on client side (i can alter, as a client, the prices from shopping cart) Han wrote: > Hi, > > I can think of 2 solutions: > > 1 is an old one I used ages ago, a

Re: [PHP-DB] Page refresh question

2005-06-10 Thread han
Hi, I can think of 2 solutions: 1 is an old one I used ages ago, and it was to use javascript to put their choices (onclick, field.value=£3 type of thing) and when they click the OK button it gets sent to php script that sends it to mysql, etc. 2 is pretty much the same but using cookies with

Re: [PHP-DB] Page refresh question

2005-06-10 Thread mihaifrisan
i think that the best solution is to use XMLHttpRequest mihai ps. i don't think is a good idea to save the shopping cart in a cookie on client side (i can alter, as a client, the prices from shopping cart) Han wrote: > Hi, > > I can think of 2 solutions: > > 1 is an old one I used ages ago, a

Re: [PHP-DB] Page refresh question

2005-06-09 Thread mihaifrisan
i think that the best solution is to use XMLHttpRequest mihai ps. i don't think is a good idea to save the shopping cart in a cookie on client side (i can alter, as a client, the prices from shopping cart) Han wrote: > Hi, > > I can think of 2 solutions: > > 1 is an old one I used ages ago, a

Re: [PHP-DB] Page refresh question

2005-06-09 Thread han
Hi, I can think of 2 solutions: 1 is an old one I used ages ago, and it was to use javascript to put their choices (onclick, field.value=£3 type of thing) and when they click the OK button it gets sent to php script that sends it to mysql, etc. 2 is pretty much the same but using cookies with

Re: [PHP-DB] Page refresh question

2005-06-09 Thread sbruno
You may also open a sized new window where the update takes place and the user has a confirmation and a close button. Stéphane On Thu, 2005-06-09 at 04:32, Bobo Wieland wrote: > ...or if everything else fail, do it the ugly-hack style and us a > frameset with an 1 px wide frame where you update

Re: [PHP-DB] Page refresh question

2005-06-09 Thread han
Hi, I can think of 2 solutions: 1 is an old one I used ages ago, and it was to use javascript to put their choices (onclick, field.value=£3 type of thing) and when they click the OK button it gets sent to php script that sends it to mysql, etc. 2 is pretty much the same but using cookies with

Re: [PHP-DB] Page refresh question

2005-06-09 Thread mihaifrisan
i think that the best solution is to use XMLHttpRequest mihai ps. i don't think is a good idea to save the shopping cart in a cookie on client side (i can alter, as a client, the prices from shopping cart) Han wrote: > Hi, > > I can think of 2 solutions: > > 1 is an old one I used ages ago, a

Re: [PHP-DB] Page refresh question

2005-06-09 Thread Stéphane Bruno
You may also open a sized new window where the update takes place and the user has a confirmation and a close button. Stéphane On Thu, 2005-06-09 at 04:32, Bobo Wieland wrote: > ...or if everything else fail, do it the ugly-hack style and us a > frameset with an 1 px wide frame where you update

Re: [PHP-DB] Page refresh question. .

2005-06-09 Thread Martin Norland
Chris Payne wrote: I'm using PHP and MySQL in a shopping cart system but the client wants it so that when you add an item to the cart the page doesn't refresh and we all know with PHP the page MUST refresh in order to execute the MySQL query. Is it possible, maybe with javascript? That I can ta

RE: [PHP-DB] Page refresh question

2005-06-09 Thread Bastien Koert
use a hidden frame to do the submission bastien From: "Chris Payne" <[EMAIL PROTECTED]> To: Subject: [PHP-DB] Page refresh question Date: Thu, 9 Jun 2005 00:33:12 -0400 Hi there everyone, I'm using PHP and MySQL in a shopping cart system but the client wants it so that when you add an it

Re: [PHP-DB] Page refresh question

2005-06-09 Thread Bobo Wieland
...or if everything else fail, do it the ugly-hack style and us a frameset with an 1 px wide frame where you update the db... just target the update to the "invisible" frame and only that gets updated... _bobo www.bitbob.biz Chris Payne wrote: Hi there everyone, I'm using PHP and MySQL in

Re: [PHP-DB] Page refresh question

2005-06-09 Thread Mihai Frisan
i think that the best solution is to use XMLHttpRequest mihai ps. i don't think is a good idea to save the shopping cart in a cookie on client side (i can alter, as a client, the prices from shopping cart) Han wrote: Hi, I can think of 2 solutions: 1 is an old one I used ages ago, and it w

Re: [PHP-DB] Page refresh question

2005-06-08 Thread Han
Hi, I can think of 2 solutions: 1 is an old one I used ages ago, and it was to use javascript to put their choices (onclick, field.value=£3 type of thing) and when they click the OK button it gets sent to php script that sends it to mysql, etc. 2 is pretty much the same but using cookies wit