--- inc/conn.inc 2001/03/01 12:56:27 1.4 +++ inc/conn.inc 2001/03/03 12:56:37 1.5 @@ -9,4 +9,12 @@ exit; } + $url=basename($PHP_SELF)."?$QUERY_STRING"; + $sth = $dbh->prepare("select item from menu where url = '$url'"); + $sth->execute(); + global $menu_item; + if ($row=$sth->fetchrow_hash()) { + $menu_item=$row[0]; + } + ?>