thanks but that didn't change anything. the page prints without an error but it is blank. i can echo the $result before the WHERE and the mysql query shows correctly. but if i put it within the
while($row = mysql_fetch_array($result)) {
... it doesn't show anything. which makes me think that this bit isn't working. but i don't see why.
the complicated version that does work and that i am trying to simplify has a query that looks like this:
$result = mysql_query("SELECT * FROM table WHERE price_id='".$price_id."'") or die (mysql_error());
do i need that mysql_query part in front of the SELECT and if so how do i add it to the appending version in my post above?
thanks