RE: [PHP] Database search logic question

2004-11-15 Thread Stuart Felenstein
--- "Gryffyn, Trevor" <[EMAIL PROTECTED]> wrote: > This is a PHP General mailing list, it should be for > general, newbie, > etc sort of questions. But the expectation is that > the questions being > asked were researched some ahead of time as well. > Although that's not > always an option and

RE: [PHP] Database search logic question

2004-11-15 Thread Gryffyn, Trevor
> > Did you take the time to think about what you were > > going to do before starting your application? > > Honestly , no I did not. What I did start out with is > a belief that there wouldn't be a need to know php. I > was using a RAD, that was sold as all encompassing. > Fool me once. Yeah

Re: [PHP] Database search logic question

2004-11-15 Thread Stuart Felenstein
See inline please: --- David Bevan <[EMAIL PROTECTED]> wrote: > Did you take the time to think about what you were > going to do before starting > your application? Honestly , no I did not. What I did start out with is a belief that there wouldn't be a need to know php. I was using a RAD, tha

RE: [PHP] Database search logic question

2004-11-15 Thread Stuart Felenstein
See inline: --- "Chris W. Parker" <[EMAIL PROTECTED]> wrote: > Stuart Felenstein > on Monday, November 15, 2004 1:10 AM said: > > > The way I was approaching this was to grab the > url, > > the part after the ? , so not the referer. > > This sounds like you're not

Re: [PHP] Database search logic question

2004-11-15 Thread David Bevan
On November 15, 2004 13:27, Stuart Felenstein wrote: > See inline: > > --- "Chris W. Parker" <[EMAIL PROTECTED]> wrote: > > Stuart Felenstein > > > > on Monday, November 15, 2004 1:10 AM said: > > > The way I was approaching this was to grab the > > > > url, > > > > >

Re: [PHP] Database search logic question

2004-11-15 Thread Greg Donald
On Mon, 15 Nov 2004 09:21:01 -0800, Chris W. Parker <[EMAIL PROTECTED]> wrote: > This sounds like you're not familiar with the $_GET array. $_GET is > everything after the ? in the url but as an array. > > > Whatever the second part is called. > > I *think* that's the querystring. Not sure on tha

RE: [PHP] Database search logic question

2004-11-15 Thread Chris W. Parker
Stuart Felenstein on Monday, November 15, 2004 1:10 AM said: > The way I was approaching this was to grab the url, > the part after the ? , so not the referer. This sounds like you're not familiar with the $_GET array. $_GET is everything after the ? in the url but

RE: [PHP] Database search logic question

2004-11-15 Thread Graham Cossey
> -Original Message- > From: Stuart Felenstein [mailto:[EMAIL PROTECTED] > Sent: 15 November 2004 10:12 > To: Graham Cossey; [EMAIL PROTECTED] > Subject: RE: [PHP] Database search logic question > > > Please see inline: > --- Graham Cossey <[EMAIL PROTEC

RE: [PHP] Database search logic question

2004-11-15 Thread Stuart Felenstein
Please see inline: --- Graham Cossey <[EMAIL PROTECTED]> wrote: > A couple of possibilities are: > > Store search criteria (form entries) in MySQL > Store query string in MySQL So with my current form, the where statement is built from conditions that are set (or not set) in the form. Perhaps I

RE: [PHP] Database search logic question

2004-11-15 Thread Graham Cossey
A couple of possibilities are: Store search criteria (form entries) in MySQL Store query string in MySQL If the user has to log-in then the MySQL table would be keyed on the user_id or similar. If the user does not have to log-in then you will most likely need to store something in a client-side