<?php
$emailrepeat = 'test';
$email_clean = 'test';
if(strcasecmp($emailrepeat, $email_clean) != 0){
//WILL RETURN THAT BOTH STRINGS MATCH
echo 'Your emails did not match with order 1';
}
if(strcasecmp($email_clean, $emailrepeat) != 0){
//WILL RETURN THAT BOTH STRINGS DONT MATCH
echo 'Your emails did not match with order 2'; }