if (strtolower($row[userName]) == strtolower($yourname)) {
$youowner = "yes";
}
To make things case insensitive you need to chage the case of both sides of the test to either lower or upper. Now this means that if you have two users in your database with the names shawazi and Shawazi they will be thought of as the same user. So I'd suggest that you make your entire site case insensitive.