View Single Post
Old 02-16-2004, 03:57 AM   #9
renehaentjens
Orange Mole
 
Join Date: Nov 2003
Posts: 69
Charter, I may be a beginner with 1.8.0 and only recently promoted junior to member in this forum, I am not a novice on string literals!

The fact remains that, when looking at the mysql_query around line 217 in search_function:
1. with user query "abc!def" it is executed twice, with: (1) ... AND k.keyword like 'abc%' ... (2) ... AND k.keyword like 'def%', whereas
2. with user query "abc<backslash>def", it is executed once, with: ... AND k.keyword like 'abc<backslash><backslash>def%' ...
__________________
René Haentjens, Ghent University
renehaentjens is offline   Reply With Quote