I have a problem with the GET and I can not find why it does not work.
First of all, I have to save what is in the get in a variable:
$error = $_GET["error"];
After I show the error depending on the number of the get:
<?php
if ($error != "") {
?>
<div class="alert alert-danger display-hide">
<button class="close" data-close="alert"></button>
<span>
<?php
if ($error === "001") {
echo $CRError001;
} elseif ($error === "002") {
echo $CRError002;
}
?>
</span>
</div>
<?php
}
?>
Still, it does not print the error message and I do not know what may be happening.