Azu Posted September 12, 2007 Share Posted September 12, 2007 Hey guys When I use the widlcard in MySQL (%) it seems to act as an infinite amount of characters. Please tell me how to wildcard for just a SINGLE character.. So like (TES%) should match TEST but not TESTT? And also how can I change the default wildcard in MySQL so that it is * instead? I know I can replace * with % in PHP but this doesn't let me search for %.. I want to be able to use it in WHEREs as a normal character.. Link to comment https://forums.phpfreaks.com/topic/68983-solved-single-character-wildcard/ Share on other sites More sharing options...
Illusion Posted September 12, 2007 Share Posted September 12, 2007 like 'TES_' Link to comment https://forums.phpfreaks.com/topic/68983-solved-single-character-wildcard/#findComment-346761 Share on other sites More sharing options...
Azu Posted September 15, 2007 Author Share Posted September 15, 2007 Thank you =) Link to comment https://forums.phpfreaks.com/topic/68983-solved-single-character-wildcard/#findComment-348856 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.