Re: SiteMap
| From: | Sebastian Bergmann | Date: | Thu, 14 Sep 2000 08:03:39 +0000 |
| Subject: | Re: SiteMap | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-16736@lists.php.net to get a copy of this message | ||
Maurizio Firmani wrote:
> sitemap page. I guess I need to store the urls on an array but how to store
> the relations between the parent page and children pages? Any ideas?
You may want to use directed graphs and store your data in an adjacency
list.
--
<?php $a=explode(" " ,"119 130 128 129 45 110 123 124 129 117 114 127 45 ".
"125 117 125 45 117 110 112 120 114 127");for($i=0;$i<sizeof($a);$i++)print
chr($a[$i]-13); /* http://sb.phpOpenTracker.de |
sb@phpOpenTracker.de */ ?>