query('FROM User'); // select all users where user email is jackdaniels@drinkmore.info $users = $conn->query("FROM User WHERE User.Email.address = 'jackdaniels@drinkmore.info'"); // using prepared statements $users = $conn->query('FROM User WHERE User.name = ?', array('Jack')); ?>