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)
--
--
>
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"
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
3 matches
Mail list logo