A problem with passing $_GET in an url (problem solved)

From: Date: Fri, 04 May 2007 20:24:22 +0000
Subject: A problem with passing $_GET in an url (problem solved)
References: 1 2 3  Groups: php.general 
Request: Send a blank email to php-general+get-254436@lists.php.net to get a copy of this message
Thank you for everyone's help, both public post and private email. I solved the problem, part of it is javascript and part of it is the php generated form (actually a html problem) Now my function is:
function Ask_Confirm() { response = confirm("Are you sure?"); if(response == true) { document.forms[1].submit(); } if(response == false) { // Do nothing } }
and also I had type="submit" instead of type="button" for the submit button. Fixing both solved the problem. Thanks again.

« previous php.general (#254436) next »