![]() |
excluding info in query
I am doing a query and would like to exclude all titles starting with 2.
how would I go about it? select * from whatever where title does not start with '2' thanks |
try
SELECT * FROM table WHERE column NOT LIKE '2%' |
Thanks. I couldn't get it from the calendar. So I am trying to get it another way
Quote:
|
if ($eventinfo['calendarid']==6 AND $eventinfo['title']{0} != 2)
|
I get a parse error both ways
never mind, it works. I had an extra ")" in there. thanks!! |
What type of parse error?
|
never mind, I edited my post, thanks
|
No problem :)
|
All times are GMT. The time now is 03:07 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|