I have multiple pages with the magic
prefix, the URL is like so for the main page:
dashboard.php?page=magic
and for the other subpages like so:
dashboard.php?page=magic_dothisandthat
but that way I have to add them all to my stylesheet execution script;
if(isset($_GET['page']) && $_GET['page'] == 'magic') {
'<link rel="stylesheet" href="example">';
}
Is there a way to execute the stylesheet HTML on all pages which have the magic_
prefix?
Example what I mean:
if($_GET['page'] == 'magic_' *) {