if (isset($_GET['edit'])) {
$cat_id = $_GET['edit'];
include "C:\xampp\htdocs\BMO\admin\categories.php";
}
?>
Asked
Active
Viewed 24 times
0
-
3`echo "C:\xampp\htdocs\BMO\admin\categories.php";` - notice something? https://3v4l.org/EO2Hc Time to go read https://www.php.net/manual/en/language.types.string.php – CBroe Feb 21 '22 at 11:21
-
@CBroe this is easy to fix; don't have folder names that start with `[nrtvef]` or `[0-7]` or `[xu][0-9a-f]`. ^_^ `/lampp/` would not have this problem. – Markus AO Feb 21 '22 at 11:25
-
Use relative path in includes instead of absolute path. https://phpdelusions.net/articles/paths – Zulfiqar Ali Syed Feb 21 '22 at 11:36
-
Please clarify your specific problem or provide additional details to highlight exactly what you need. As it's currently written, it's hard to tell exactly what you're asking. – Community Feb 25 '22 at 13:49