Jump to content

MySQL LIKE failing?


Twango

Recommended Posts

I want a Simple user search for my game.So far I have:$result = mysql_query("SELECT usr, hp, xp FROM aad WHERE usr LIKE '%$rcu%'");then I use W3school's echo to table.So I have two users, both starting with "King"but it only returns one.And when i search the full user, neither do.Help!

Link to comment
Share on other sites

what was the value of $rcu? is it a case of case-sensitivity? I'm not really sure what this means though

then I use W3school's echo to table.
Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...