Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如果我有链接: index.php?view=article&id=59: blue-love &catid=36: tui-sach-hang-hieu &Itemid=1
我怎样才能得到粗体数据?
This should do it:
$array = explode(':', $_GET['id']); $myID = $array[1]; $array = explode(':', $_GET['catid']); $myCATID = $array[1];