Re: [PHP-DB] Retricting Access to Menu Items

2006-03-07 Thread Luis Morales
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

RE: [PHP-DB] Help needed creating a social network

2006-03-07 Thread Daevid Vincent
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 -

Re: [PHP-DB] Retricting Access to Menu Items

2006-03-07 Thread Bastien Koert
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

RE: [PHP-DB] Help needed creating a social network

2006-03-07 Thread Miles Thompson
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

[PHP-DB] new comer

2006-03-07 Thread song
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

[PHP-DB] test

2006-03-07 Thread song
new comer from China test -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php