Re: [PHP] Re: A problem with passing $_GET in an url

2007-05-04 Thread Richard Lynch
On Thu, May 3, 2007 8:15 pm, Davis Chan wrote: > I also have a question about using this newsgroup, why is messages I > got > from using Thunderbird not as update as the digest I got via email? Because PHP's nntp server has fewer gerbils. -- Some people have a "gift" link here. Know what I want?

[PHP] Re: A problem with passing $_GET in an url

2007-05-03 Thread Davis Chan
(sorry if you see 2 posts, I was trying to cancel a post, edit, and repost) Hi! Everyone, Dan is right, after submit button is clicked, the javascript function below is called. I am trying here is the javascript function: > function Ask_Confirm() { > response = confirm("Are you sure?"); > if(r

[PHP] Re: A problem with passing $_GET in an url

2007-05-03 Thread Davis Chan
Hi! Everyone, here is the javascript function: function Ask_Confirm() { response = confirm("Are you sure?"); if(response == true) { to_url = "./admin.php?to_be_rm=" + document.forms[1].to_be_rm.value; // alert(to_url); window.location = to_url; } else { // Do Not

Re: [PHP] Re: A problem with passing $_GET in an url

2007-05-03 Thread Richard Lynch
On Thu, May 3, 2007 6:45 am, Dan Shirah wrote: ... > On 5/3/07, Travis Moore <[EMAIL PROTECTED]> wrote: >> >> If you're using window.location="./script.php?var=value", it's not >> actually using a variable, it's using a string. >> >> If you're just using the above as an example, then could you ple

Re: [PHP] Re: A problem with passing $_GET in an url

2007-05-03 Thread Dan Shirah
Could you please post your code. It sounds like you have a submit button that when clicked goes to a javascript function which pops up a confirmation box. Is that correct? On 5/3/07, Travis Moore <[EMAIL PROTECTED]> wrote: If you're using window.location="./script.php?var=value", it's not ac

[PHP] Re: A problem with passing $_GET in an url

2007-05-02 Thread Travis Moore
If you're using window.location="./script.php?var=value", it's not actually using a variable, it's using a string. If you're just using the above as an example, then could you please post the line of javascript for redirecting. Travis. Davis Chan wrote: Hi! New to this newsgroup and is debu