Re: Help!

From: Date: Sun, 09 Dec 2001 22:11:01 +0000
Subject: Re: Help!
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-77165@lists.php.net to get a copy of this message
What do you do with the var when you finish updating the database? Do you unset it? Are you passing the value of your "submit" button as a default? Use a few echo statements and find out what's going on. Miles At 07:17 AM 12/9/2001 -0800, ryan adorable wrote:
yup, that is my problem, i can't clear the data on a variable. The data is from a <form> tag (radio button). I know you know what im talking about here :) Ryan --- Miles Thompson <milesthompson@ns.sympatico.ca> wrote: Pause for a moment and think about it. You're obviously doing a good job in maintaining state, but after your update to the database the var which transfers the data isn't being cleared. Regards - Miles Thompson At 07:07 AM 12/9/2001 -0800, ryan adorable wrote:
Hi, I created a poll program for my homepage. When i vote some field in my database gets incremented, but after successfully voting when i clicked on reload/refresh of my browser the said field is also incremented. How can I fix/avoid this problem? Hoping for a reply. Thanks Ryan _____________________________________________________________ Sign up for FREE email from FloppyDisk at http://www.floppydiskonline.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net For additional commands, e-mail: php-general-help@lists.php.net To contact the list administrators, e-mail: php-list-admin@lists.php.net
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net For additional commands, e-mail: php-general-help@lists.php.net To contact the list administrators, e-mail: php-list-admin@lists.php.net _____________________________________________________________ Sign up for FREE email from FloppyDisk at http://www.floppydiskonline.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net For additional commands, e-mail: php-general-help@lists.php.net To contact the list administrators, e-mail: php-list-admin@lists.php.net


« previous php.general (#77165) next »