Hallo, abgesehen davon, dass die mysql-Anfragen schrecklich sind hab ich ein Problem:
Warum ist $a nicht gleich $p?
mfg
proux
Code:
$data=mysql_fetch_row(mysql_query("SELECT COUNT(commentid) FROM `kommentare` WHERE newsid LIKE '$nid'"));
$a=$data[0];
$data=mysql_fetch_row(mysql_query("SELECT commentid FROM `kommentare` WHERE newsid LIKE '$nid'"));
$p=count($data);
Warum ist $a nicht gleich $p?
mfg
proux