select similar values from mysql database

Posted by mathew on Stack Overflow See other posts from Stack Overflow or by mathew
Published on 2010-05-13T08:21:11Z Indexed on 2010/05/13 8:34 UTC
Read the original article Hit count: 355

Filed under:
|

Hi

I have several data s in MySQL database. In my table there is a column called rank. what I want is when some one enter a rank say 25 then the result should display names on similar(+ or -) ranks LIMIT to 10 from table.

example

mathew - 25
john - 26
joe - 25
stewart - 27
kelly - 24
brandon -23
magy - 22 .......etc.

Thanks Mathew

© Stack Overflow or respective owner

Related posts about mysql

Related posts about php