hi to everyone
the following code is taken from a guestbook. it worked fine for years but this 
morning I got the following error-msg: 
  Warning: Wrong parameter count for mysql_fetch_row() in 
/web/sites/94/ichmussweg/www.ichmussweg.f2s.com/gastebuch.php on line 54
   
line 54 is the last one of the code extract starting with "while($row":
 $res=mysql_query("SELECT id as id, msg as msg, date_format(datum,'$datumsFormat') as 
datum, namen as namen FROM $mysqlTabelle ORDER BY id DESC LIMIT 
$start,$kommentareProSeite") or die("Fehler:".mysql_error());
 while($row=mysql_fetch_row($res,MYSQL_ASSOC)) {

deleting "MYSQL_ASSOC" removes the error but prevents the guestbook script from 
printing out any entries.

could anyone help me? 
thanx in advance
rob

Reply via email to