Use An Array In An Sql Query ?

Advertisement

I am trying to execute a mysql query for selecting * rows from the table where user name = [one of the usernames stored in an array]. Now I have an array naming $users[]. I want to select all the users listed in $users[] from a mysql table.