$tabela = 'CD_CEP';
$pesquisa_municipio = mysql_query("select DISTINCT(CD_MUNICIPIO) from CEP where '$tabela' like '%%$parametro%%' order by CD_MUNICIPIO",$db);
não da certo....
se coloco desse geito funciona....
$pesquisa_municipio = mysql_query("select DISTINCT(CD_MUNICIPIO) from CEP where CD_CEP like '%%$parametro%%' order by CD_MUNICIPIO",$db);
alguem pode me ajudar?
valew!!