How do I include another php file passing information with it, for example I aim to include a php that has a message system that creates a temporary html that error:
For example, I want to give include('info.php?page=sem-nome');
back
a echo with the error sampled:
<?php
echo "<h2 style=\"color: red\">Página não encontrada: " . $_GET['page'] . "</h2>";
?>
Would that be possible?