Break url into parts


/ Published in: PHP
Save to your folder(s)

Separate the URL of the current page into an array of strings


Copy this code and paste it in your HTML
  1. $path_parts=explode('/', $_SERVER['PHP_SELF']);

Report this snippet


Comments


You need to login to view comments.