The Arcive of vBulletin Modifications Site. |
|
|
#1
|
|||
|
|||
|
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 |
|
#2
|
||||
|
||||
|
try
SELECT * FROM table WHERE column NOT LIKE '2%' |
|
#3
|
|||
|
|||
|
Thanks. I couldn't get it from the calendar. So I am trying to get it another way
Quote:
|
|
#4
|
|||
|
|||
|
if ($eventinfo['calendarid']==6 AND $eventinfo['title']{0} != 2)
|
|
#5
|
|||
|
|||
|
I get a parse error both ways
never mind, it works. I had an extra ")" in there. thanks!! |
|
#6
|
|||
|
|||
|
What type of parse error?
|
|
#7
|
|||
|
|||
|
never mind, I edited my post, thanks
|
|
#8
|
|||
|
|||
|
No problem
|
![]() |
|
|
| X vBulletin 3.8.12 by vBS Debug Information | |
|---|---|
|
|
More Information |
|
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|