I can't figure out how to get 2 separate error messages for the email and username already exists. I want it to give the exact error, so if the email already exists, it will only say "email already exists, please choose another!" instead of "username or email already exists, please choose another!"

```
if ($stmt = $con->prepare('SELECT id, password FROM accounts WHERE username = ? OR email = ?')) {
    $stmt->bind_param('ss', $_POST['username'], $_POST['email']);
    $stmt->execute();
    $stmt->store_result();
    if ($stmt->num_rows > 0) {
        // Username already exists
        echo 'Username or email already exists, please choose another!';
    } else {
        // Insert the new account
        ..

```