Re: [PHP-DB] query string

2003-06-03 Thread Ian Fingold
Awsome! Thanks, That is exactly what I was looking for. Work great now! "Leif K-Brooks" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > To answer your question, you should urlencode() the team name. However, > I would store the user in a cookie or session, and fetch the team name

Re: [PHP-DB] query string

2003-06-02 Thread Leif K-Brooks
To answer your question, you should urlencode() the team name. However, I would store the user in a cookie or session, and fetch the team name on each page load. Otherwise, they can easily change which team they're using. Ian Fingold wrote: Sorry I don't think I explained very well... heres

Re: [PHP-DB] query string

2003-06-02 Thread Ronan Chilvers
Hi Ian Comments inline... On 01 Jun,2003 at 23:20 Ian Fingold wrote: > link will look like this > fant_stnd3.php?week=1&team=silly team > > but again, my problem is that it's cutting off the team value when there is > a space in the string.. > Don't allow spaces in the string ? Are we gett

Re: [PHP-DB] query string

2003-06-02 Thread Gürhan Özen
On Sun, 2003-06-01 at 23:20, Ian Fingold wrote: > Sorry I don't think I explained very well... heres my situation... > > I have a mysql database set up... I have a user table with 2 > fields..."team_name" and "fant_week". > > What I want to do is, depending on who is logged in, I want my link to

Re: [PHP-DB] query string

2003-06-02 Thread Becoming Digital
Check out http://www.php.net/manual/en/ref.url.php Edward Dudlik Becoming Digital www.becomingdigital.com - Original Message - From: "Ian Fingold" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Sunday, 01 June, 2003 23:20 Subject: Re: [PHP-DB] query string

Re: [PHP-DB] query string

2003-06-02 Thread Ian Fingold
Sorry I don't think I explained very well... heres my situation... I have a mysql database set up... I have a user table with 2 fields..."team_name" and "fant_week". What I want to do is, depending on who is logged in, I want my link to change the value of 'team' to the logged in members team nam

Re: [PHP-DB] query string

2003-06-02 Thread Gürhan Özen
On Sun, 2003-06-01 at 22:26, Ian Fingold wrote: > I'm trying to build a query string for one of my links.. for example... > fant_stnd3.php?week=1&team=fun%20team > > I need to be able to grab the values of 'week' and 'team' from an array, I > can do that no problem, but when the code runs it cuts

[PHP-DB] query string

2003-06-02 Thread Ian Fingold
I'm trying to build a query string for one of my links.. for example... fant_stnd3.php?week=1&team=fun%20team I need to be able to grab the values of 'week' and 'team' from an array, I can do that no problem, but when the code runs it cuts off the value if there is a space in the string. so instea