Checking differences between the fields in mysql database using Php
===

I am trying to determine if any differences exist between a number of fields between rows of a mysql database.

for example, if name field is different in one row echo a result out.

What is the best method for this?

thanks