So normally the mysql query will be $result = mysql_query("SELECT * FROM Persons WHERE FirstName='Peter'"); is there a way to do it so that we can where another query for example WHERE FirstName='Peter' and WHERE LastName='John' ??
that is exactly how you do it except for the second where. WHERE FirstName='Peter' and LastName='John'