prueba asi:
Código PHP:
$sql_editar="select * from dpswd.$tabla where id_".$tabla."='$id_'";
$result_editar=mysql_query($sql_editar,$link);
if($mrow=mysql_fetch_array($result_editar)){echo "GOOD";}else{"No hay datos";};
foreach($mrow as $key=>$value)
echo $key.": ".$value."<br/>";