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[2]: [PHP] Database search logic question

2004-11-15 Thread Richard Davey
Hello Stuart, Monday, November 15, 2004, 6:27:18 PM, you wrote: SF> In $_POST there is nothing in the URL , there is no ?. Technically, there can be. You can post a form to x.php?foo=bar and it will populate both the POST and GET super-globals. >> > I'm wondering at this point if I should >> >

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
to save multiple queries and recall them at a later date by a name that they supplied. HTH Graham > -Original Message- > From: Stuart Felenstein [mailto:[EMAIL PROTECTED] > Sent: 15 November 2004 09:10 > To: [EMAIL PROTECTED] > Subject: [PHP] Database search logic quest

[PHP] Database search logic question

2004-11-15 Thread Stuart Felenstein
For those who recognize this topic from me and perhaps are sick of it , my apologies :) This is actually a different question more about logic then syntax or functionality. One of the uses of my search form is that users may save their search parameters. Typical benefits, they don't have to re-en