03.05.2010, 12:46
Hello, How can I do a wildcard search on a name.
Here is the current query:
SELECT Name,PhoneNumber FROM players WHERE Name=%%%s%%
I think the %% = one % in PAWN and I think again that % = wildcard in MySQL.
So would it be %% %s %% for "(anything)search term(anything)"?
Here is the current query:
SELECT Name,PhoneNumber FROM players WHERE Name=%%%s%%
I think the %% = one % in PAWN and I think again that % = wildcard in MySQL.
So would it be %% %s %% for "(anything)search term(anything)"?