I need to use different modules based on what value the $what variable holds. There are 2 variables; me and others. If $what = me i want them to see me.php an if $what = others i want them to see others.php. I don't know how to update the snippet that will also take $what = other scenario under consideration.
How to do that?
$what = "me";
if ( $q === $what ) {
require("me.php");
} else {
require("all.php");
}