I have a variable:
$category = 3;
$data = MY SQL QUERY....
while ($data2 = mysql_fetch_array( $data))
{ echo $data2['$category'] ; }
I want to get the sql value of echo $data2['3']; by using the vairable $category ...
is there a way to do this ?