<?php
$campo1 = "1";
$valor1 = 1;
if($campo1 == $valor1){
$msg="ok";
}
else{
$msg="erro";
}
echo $msg;
?>
PD9waHAKCiAkY2FtcG8xID0gIjEiOwogJHZhbG9yMSA9IDE7CgogICBpZigkY2FtcG8xID09ICR2YWxvcjEpewogICAgICAkbXNnPSJvayI7CiAgIH0KICAgZWxzZXsKICAgICAgJG1zZz0iZXJybyI7CiAgIH0KZWNobyAkbXNnOwo/Pg==