Hi, all.  I can't quite figure out how to call the contents of a
variable variable in a mysql_fetch_array result and was hoping someone
could help . . .

inside the "fetch all rows" while loop, i have the following:

$right_row = "$" . myrow . "['" . $type . "_title']";

($type is assigned elsewhere, but in this case = 'article')

which outputs:

$myrow['article_title']

So far so good, but i can't seem to output the value of this variable
by printing

$$right_row

Any suggestions?

TIA,

Andrew

--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to