Re: [PHP] Re: query strings coming from the same page going back to the same page

2004-04-10 Thread John W. Holmes
Andy B wrote: going to try some different things out... the if statement didnt work cuz when i didnt put a query string at the end of the page name when going to it it complained about month being an undefined index... if(!isset($_GET['month']) || $_GET['month'] <= 0 || $_GET['month'] > 12) -- --

Re: [PHP] Re: query strings coming from the same page going back to the same page

2004-04-10 Thread Andy B
> To: <[EMAIL PROTECTED]> Sent: Saturday, April 10, 2004 6:33 PM Subject: [PHP] Re: query strings coming from the same page going back to the same page > Andy B schrieb: > > was wondering if this would work or do i need different code: > > > include("libs/conf.db"

[PHP] Re: query strings coming from the same page going back to the same page

2004-04-10 Thread Rainer Müller
Andy B schrieb: was wondering if this would work or do i need different code: 12)){ $query="SELECT Type, StartDate, EndDate, Name, County, Notes FROM $EventsTable ORDER BY StartDate DESC"; } else { $query="SELECT Type, StartDate, EndDate, Name, County, Notes FROM $EventsTable WHERE Star