RE: [PHP] bold current menu item (fwd)

2001-08-16 Thread Daniel Adams
TECTED]> Cc: [EMAIL PROTECTED], [EMAIL PROTECTED] Subject: RE: [PHP] bold current menu item I suppose you could check the $GLOBALS["REQUEST_URI"] variable with a regular expression or something. - Dan On Thu, 16 Aug 2001, Jason Dulberg wrote: > The menu that's taken from t

RE: [PHP] bold current menu item

2001-08-16 Thread Daniel Adams
I suppose you could check the $GLOBALS["REQUEST_URI"] variable with a regular expression or something. - Dan On Thu, 16 Aug 2001, Jason Dulberg wrote: > The menu that's taken from the database is basically a list of links like > this > > $s="select * FROM molds m, prodlookup p WHERE p.ci

RE: [PHP] bold current menu item

2001-08-16 Thread Jason Dulberg
The menu that's taken from the database is basically a list of links like this $s="select * FROM molds m, prodlookup p WHERE p.cid=$cid and p.pid=m.id ORDER BY p.pid"; $menu=mysql_query($s); while ($stuff = mysql_fetch_array($menu)) { extract($stuff); echo "".$title.""; } So basi

Re: [PHP] bold current menu item

2001-08-15 Thread David Robley
On Thu, 16 Aug 2001 03:50, Jason Dulberg wrote: > I am dynamically creating a menu based on a "title" field from a > database. > > ie > item1 > item2 etc. > > Is it possible that when I'm on the "item1" page to bold the title in > the menu? > > Any suggestions are appreciated. > Presumably there