D van der Wal
|
Posted: 08/09/2004, 6:39 AM |
|
I build a directory path... The purpose is to view a category tree wich is linked to articles.
How can I retrieve the parameter of the category (I can retrieve the link with a getlink call, but is the a way to retrieve the parameter of the link) in order to perform a count (to print the number of articles for each catagory).
exemple
-----------
TIC (TMagCat_list.php?CatId=9) where the TMagCat_list.php?CatId=9 is receieved with a getlink call... How can I extract the CatId value (without a php substring) ?
Thanks in advance
Dominique
|
|
|
Walter Kempees
|
Posted: 08/10/2004, 11:18 AM |
|
Am not exactly sure this is what you need but check out
CCGetFromGet()
$id=CCGetFromGet("CatId","")
Walter
<D van derWal@forum.codecharge (D van der Wal)> schreef in bericht
news:541177e7b4469a@news.codecharge.com...
> I build a directory path... The purpose is to view a category tree wich is
> linked to articles.
>
>
> How can I retrieve the parameter of the category (I can retrieve the link
with
> a getlink call, but is the a way to retrieve the parameter of the link) in
> order to perform a count (to print the number of articles for each
catagory).
>
>
> exemple
> -----------
> TIC (TMagCat_list.php?CatId=9) where the TMagCat_list.php?CatId=9 is
receieved
> with a getlink call... How can I extract the CatId value (without a php
> substring) ?
>
> Thanks in advance
> Dominique
> ---------------------------------------
> Sent from YesSoftware forum
> http://forums.codecharge.com/
>
|
|
|
|