RE: [PHP] Still can't pass variable through url

2003-08-12 Thread Joe Harman
L PROTECTED]; [EMAIL PROTECTED] > Subject: Re: [PHP] Still can't pass variable through url > > > actually, you might want to urlencode it. > ok, so i doubt that you would need url encoding for $year and $month, > but I'm sure you will playing with more of this in the fu

RE: [PHP] Still can't pass variable through url

2003-08-10 Thread Martin Towell
See if changing it to page.php?year=$year&month=$month works The separator between the page and the query string is "?" The separator between each key/value pair is just "&" -Original Message- From: Jack [mailto:[EMAIL PROTECTED] Sent: Friday, 8 August 2003 4:30 PM To: [EMAIL PRO

Re: [PHP] Still can't pass variable through url

2003-08-08 Thread andu
On Fri, 8 Aug 2003 14:30:22 +0800 "Jack" <[EMAIL PROTECTED]> wrote: > Dear all > I had set the "register_global=on" and "magic_quotes_runtime=off" > already, You don't need register_global=on" for this, use $year = $_GET['year']; $month = $_GET['month']; ...and you want to try "page.php?year=$

RE: [PHP] Still can't pass variable through url.. whoops

2003-08-08 Thread Joe Harman
YEPPERS.. You're right > -Original Message- > From: Martin Towell [mailto:[EMAIL PROTECTED] > Sent: Friday, August 08, 2003 2:59 AM > To: 'Joe Harman'; [EMAIL PROTECTED] > Subject: RE: [PHP] Still can't pass variable through url > >

RE: [PHP] Still can't pass variable through url

2003-08-08 Thread Martin Towell
August 2003 4:55 PM To: [EMAIL PROTECTED] Subject: RE: [PHP] Still can't pass variable through url http://www.thingamajigger.com/index.php?year=$year&month=$month\"; >yeah this is the link"; ?> > -Original Message- > From: John Manko [mailto:[EMAIL PROTE

Re: [PHP] Still can't pass variable through url

2003-08-08 Thread John Manko
n Towell Cc: 'Jack'; [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: Re: [PHP] Still can't pass variable through url actually, you might want to urlencode it. ok, so i doubt that you would need url encoding for $year and $month, but I'm sure you will playing with more of this in th

RE: [PHP] Still can't pass variable through url

2003-08-08 Thread Joe Harman
Jack... Can you paste your code into an email and post it > -Original Message- > From: Jack [mailto:[EMAIL PROTECTED] > Sent: Friday, August 08, 2003 2:30 AM > To: [EMAIL PROTECTED]; [EMAIL PROTECTED] > Subject: [PHP] Still can't pass variable through url > > > Dear all > I had set the