-1

如果我有链接: index.php?view=article&id=59: blue-love &catid=36: tui-sach-hang-hieu &Itemid=1

我怎样才能得到粗体数据?

4

1 回答 1

1

This should do it:

$array = explode(':', $_GET['id']);
$myID = $array[1]; 

$array = explode(':', $_GET['catid']);
$myCATID = $array[1]; 
于 2012-05-26T15:11:41.463 回答