View Single Post
Old 10-09-2007, 10:42 AM   #18 (permalink)
Tanax
The Prestige
Upcoming Programmer Inquisitive 
 
Tanax's Avatar
 
Join Date: Sep 2007
Location: Sweden, Stockholm
Posts: 1,080
Thanks: 115
Tanax is on a distinguished road
Default

Okey, I fixed so that if you search for the string "knight", the $search is equal to whatever number that is used to define knights.

However, it won't only list knights.. since it searched for lvl aswell, so it will search for players with level equal to the number of the vocation.

Is there any way to define search method?

Like, a checkbox.
Search by:
Vocations
Level
Name
Guild

And then the search form.
And it uses different querys depending on what box is checked?
Tanax is offline  
Reply With Quote