in reply to Re: Didn't mention if you'd tried . . .
in thread DBI SQL Syntax Problem
should readWHERE year = '2002', AND month = '3', AND day = '16', AND time_start = '1:00 PM', AND time_end = '12:00 PM', AND title = 'Faciltiative Leadership Training',
As in there should be no commas in between the AND clauses.WHERE year = '2002' AND month = '3' AND day = '16' AND time_start = '1:00 PM' AND time_end = '12:00 PM' AND title = 'Faciltiative Leadership Training'
Think of a where like an if statement and it becomes obvious
is correct butif (year == '2002' && month == '3' && day = '16' && $time_start eq '1:00 PM' && $time_end eq '12:00 PM' && $title eq 'Faciltiative Leadership Training') { #yada-yada-yada }
is not...if (year == '2002', && month == '3', && day = '16', && $time_start eq '1:00 PM', && $time_end eq '12:00 PM', && $title eq 'Faciltiative Leadership Training') { #yada-yada-yada }
:-)
Yves / DeMerphq
---
Writing a good benchmark isnt as easy as it might look.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: Didn't mention if you'd tried . . .
by jerrygarciuh (Curate) on Apr 15, 2002 at 13:38 UTC | |
by demerphq (Chancellor) on Apr 15, 2002 at 14:34 UTC |