Bueno, yo quiero que en mi index.php, cuando pongo index.php?cat=PIZZA que salgan todas las noticias de la PIZZA.
 
la estructura de la db son estas:  
 Código PHP:
    #  
# --------------------------------------------------------
#  
# Estructura de tabla para la tabla `noticias`
# 
create table noticias (
id_noticia int(4) auto_increment not null,
autor varchar(255),
titulo varchar(255),
categoria varchar(255),
fecha datetime not null,
noticia blob, key(id_noticia)
) TYPE=MyISAM;
 
# ---------------------------------
 
 
# 
# Estructura de tabla para la tabla `Comentarios`
# 
create table comentarios(
id int(4) not null,
nick varchar(40) NOT FULL,
email varchar(50),
comentario blob, key(id)
) TYPE=MyISAM;
# -- 
    
  y.. este es el codigo del index para que muestre las consultas
index.php 
 Código PHP:
    if(isset($_GET['cat']))
    {
$result=mysql_query("select '" . $cat . "' from noticias order by fecha Desc", $connect); 
$totalregistros=mysql_num_rows($result); 
$result2=mysql_query("select * from comentarios where id",$connect);
$totalcomentarios=mysql_num_rows($result2);
    }
    else
    {
$result=mysql_query("select * from noticias order by fecha Desc", $connect); 
$totalregistros=mysql_num_rows($result); 
$result2=mysql_query("select * from comentarios where id",$connect);
$totalcomentarios=mysql_num_rows($result2);        
    } 
    
  Tengo 2 noticias, una de pizza y otra de empanadas, caundo pongo eos, se muestran las dos pero sin ningun tipo de contenido, ayuda?