Hi,
I'm developing a website in PHP using an Oracle 8i database, and need to carry out a search on a database containing academic papers. I need to search the title field, but the results are only coming back if I get the case right (ie the search is case sensitive). How do I construct the query so it's not case sensitive. I've tried various methods such as LIKE and the % operator. Eg:
SELECT * FROM PAPERS WHERE TITLE LIKE '%$Query%';
Any ideas on how to stop the search being case sensitve so I could put in a word like 'Academic' or 'academic' and they'd both match 'AcAdEmIc' for example!?
Thanks a lot!
I'm developing a website in PHP using an Oracle 8i database, and need to carry out a search on a database containing academic papers. I need to search the title field, but the results are only coming back if I get the case right (ie the search is case sensitive). How do I construct the query so it's not case sensitive. I've tried various methods such as LIKE and the % operator. Eg:
SELECT * FROM PAPERS WHERE TITLE LIKE '%$Query%';
Any ideas on how to stop the search being case sensitve so I could put in a word like 'Academic' or 'academic' and they'd both match 'AcAdEmIc' for example!?
Thanks a lot!