[PHP] query strings, global variables

2004-01-21 Thread mayo
I'm a cold fusion refugee and am having incredible problems with something that I think is relatively easy -- so I must be missing something basic. I would like to pull info from a query string and use it inside a database call I have a navigation bar that includes data pulled from a database.

Re: [PHP] query strings, global variables

2004-01-21 Thread Matt Matijevich
snip while ($row = mysql_fetch_array($selection)){ if (section == $sectionName){ echo b . $row[sectionName] . /b; }else{ echo $row[sectionName]; } thx /snip Not sure if I understand you 100% but I think you could just either check the $_GET or $_REQUEST array. Something like