On Thu, 13 Jun 2002, Kevin Stone wrote: > Your problem is here.. > > return ($_SESSION['node'] = $node_id); > > I do not believe that you can both set and return a varaible on the same > line. FYI, the variable which you're returning in this function is global.. > so there's no reason to return it anyway. Just fill the index and you're > all set.
There's no particular reason that in itself shouldn't work - the return value of an assignment is the result of the assignment. Try: $i = 1; echo $i = $i + 3; miguel -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php