Howdy-
I'm using the following as an SQL query to generate a drop down menu (some code omitted for brevity).
$query = mysql_query('select * from domain_names where user = "$PHP_AUTH_USER" order by domain') or die(mysql_error());
The problem I'm running into, is that, the "$PHP_AUTH_USER" is not getting set and therefore not populating the list as I would like. If I hardcode a value where the variable is placed, then the query works as expected. I can echo the variable back on the page, so I know its being generated and can be seen by atleast other parts of the script, does anyone have a clue what it is that I'm doing wrong here?