View Single Post
  #13 (permalink)  
Old Jan 20th, 2007, 17:00
Donny Bahama Donny Bahama is offline
Reputable Member
Join Date: Mar 2005
Location: Margaritaville (a state of mind somewhere between Inebriation and San Diego), CA
Posts: 236
Thanks: 4
Thanked 0 Times in 0 Posts
Re: I don't _GET it!

Quote:
Originally Posted by masonbarge View Post
GAH! Javascript = surrender.
I agree, but surrender is about where I'm at right now! And if it comes down to using javascript or a butt-ugly submit button, I'm going with javascript.
Quote:
I have done a lot of links just like this and it's a great technique to automate an unlimited menu of pages.
Yeah, I've used it extensively on ASP, but I'm still learning the ropes on the php side.

OK - bizarre new development - I changed this:
Code: Select all
$thissite = $_GET['ws'];
to this:
Code: Select all
$thissite = ($_GET['ws']);
and it worked! (Well, sort of.)
On a whim, I changed it back - and it still worked! (Well, sort of.)

By sort of, I mean to say that the print statement yields the passed qs parm, and the input I stuck on the form for debugging has the right value in it as well. But when the e-mail is sent out, it still shows "re: stickpuppy.com" in the subject (instead of "re: whatever.net") - but that's just a minor error somewhere else in the code.

I know the documented changes I posted above probably have nothing to do with why it started working, but I don't care. I'm just glad to get past that hurdle.
Reply With Quote