ahora ya me funciona gracias
que me recomiendas utilizar la variable o el get mejor el get no porque asi no utilizo memoria
'select categoria_nom from categories where categoria_nombre="'.$_GET[categoria_nombre].'"';
"select categoria_nombre from categories where categoria_nombre='".$_GET[categoria_nombre]."'";
![Aplauso](http://static.forosdelweb.com/fdwtheme/images/smilies/aplausos.gif)