For one thing, I can't see why you search twice.
The first time, you don't say what you're selecting (MySQL would be giving an error if you looked). But that check's a waste of time anyway.
$get_info_info = "SELECT userid, userpassword FROM user WHERE email ='$emailaddr'";
$get_info = mysql_query($get_info_info);
if(mysql_num_rows($get_info)==0)
{ // Couldn't find match for email
}
else
{ // Your Cp Login Info is as follows ...
}
And don't forget to actually get $userid and $userpassword out of $get_info at some stage.