Miguel,
Take this tips:
Before load your html main tags put:
.
?
session_start();
$person = array ();
$person['firstname']=Jhon;
$person['lastname']=Doe;
$_SESSION['person'] = $person;
?
html
/html
Thanks for the reply. However, that only gives me a single degree.
I'm looking for the way to traverse a 'tree' to see who is in your extended
networks, so I can do things like:
You are 4 degrees away from Sam:
You know bob who knows john who knows carrol who knows Sam.
Sam - carrol - john -
session_register is old method...$_SESSION['var'] is the better way. You
will still need session_start(); at the top of the page
bastien
From: MIGUEL ANTONIO GUIRAO AGUILAR [EMAIL PROTECTED]
To: Jeffrey [EMAIL PROTECTED]
CC: php-db@lists.php.net
Subject: Re: [PHP-DB] Retricting Access to
My first thought was recursion - repeat the call for each element of the
result set, numbering each so you can find each level, until nothing is
returned. That would probably work, but oh, what a mess.
That triggered something ... off to consult Joe Celko's SQL for Smarties.
He has a whole
beginner from China BeiJing
test if my outlook maillist can work
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
new comer from China
test
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php