Hello as the question says I would like to add & hello = quetal in the search engine.
here the line of the code:
$view = isset($_GET['view']) ? $_GET['view'] : 'panel';
What can I do here?
Hello as the question says I would like to add & hello = quetal in the search engine.
here the line of the code:
$view = isset($_GET['view']) ? $_GET['view'] : 'panel';
What can I do here?
You could do something like this:
if (isset($_GET['view']) && $_GET['view'] == “panel” && !isset($_GET[“hola”])) {
header(“location: “ . $_SERVER['REQUEST_URI'] . “&hola=quetal”);
}
What that code does (which should go to the beginning of the whole to avoid problems with redirection) is to check that the view parameter is there and has the value panel. And if that happens, then it is redirected to the same url by adding the new parameter hello with quetal value.