I am working on a movie archive management system, I need to group the query results in the cases with more than one result
For example, when a user searches a director name(e.g. Steven), There are movies of Steven A, Steven B and Steven C,(multiple) what I want to do is display all movies of Steven A under his name, Steven B under his name etc.
How can I do this with php and mysql
Thanks