not exactly sure if what you want is to extract the username or if its the
html file at the end but here goes..
To extract the html file you could use
basename()
ex:
$file = basename("http://www.mydomain.com/member.php/randy/test.html";);
echo $file; // outputs test.html
if you want the userna
4 since id 4 has parents of its
own which have precedence.
An easier way to illustrate this would be by indenting the list..
1=0
2=1
4=2
8=4
6=2
3=1
5=3
9=5
7=1
The index of $arr1 makes no difference so the array can be shifted or
reb
tips or
ideas
as to why it won't work?
// Leif Högberg
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
3 matches
Mail list logo