Ver Mensaje Individual
  #4 (permalink)  
Antiguo 24/09/2008, 14:27
mesoriginal
 
Fecha de Ingreso: septiembre-2008
Mensajes: 211
Antigüedad: 16 años, 4 meses
Puntos: 2
Respuesta: ver mas Sistema de Noticias PHP

en una de mis noticias al hacer clic sale esto:

http://localhost/w/SDN2/mas.php?id=5&categoria=3


y en la pagina solo sale esto: Noticias en la categoria 3

y nada mas...

Os dejo la estructura SQL haber si os va mejor :)

Código PHP:
REATE TABLE `sn_categorias` (
`
cat_IDint(11NOT NULL auto_increment,
`
catCategoriavarchar(100NOT NULL,
PRIMARY KEY (`cat_ID`)
ENGINE=MyISAM;

CREATE TABLE `sn_noticias` (
`
not_IDint(11NOT NULL auto_increment,
`
notTitulovarchar(255NOT NULL,
`
notTextotext NOT NULL,
`
notCategoriaIDint(11NOT NULL,
PRIMARY KEY (`not_ID`)
ENGINE=MyISAM

Ahi esta he provado de mil formas pero no hay manera...
Muchismas gracias ghesent!!!