PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
is it possible to select say 5 random records from a database (MYSQL) which satisfy a certain criteria, eg SELECT RANDOM(5) from useers where user='alive'?