Board-Announcements anzeigen
Verfasst: 20.06.2004 14:14
hoi hoi,
ich möchte alle Board-Announcements anzeigen alles,dazu habe ich eine SQL-Querie gebastelt:
bekomme aber folgende Fehlermeldung:
nur...wo liegt der Fehler?
ich möchte alle Board-Announcements anzeigen alles,dazu habe ich eine SQL-Querie gebastelt:
Code: Alles auswählen
$sql = "SELECT *
FROM phpbb_topics
WHERE topic_type = 2";
while($row = mysql_fetch_array( $sql ))
{
$atopictitle = $row['topic_title'];
$atopicreplies = $row['topic_replies'];
$atopicposttime = $row['topic_time'];
$atopicviews = $row['topic_views'];
}
bekomme aber folgende Fehlermeldung:
Code: Alles auswählen
Warning: Supplied argument is not a valid MySQL result resource in c:\apache\htdocs\kummerforum\ucp_interface.php on line 53
Warning: Cannot add header information - headers already sent by (output started at c:\apache\htdocs\kummerforum\ucp_interface.php:53) in c:\apache\htdocs\kummerforum\includes\page_header.php on line 474
Warning: Cannot add header information - headers already sent by (output started at c:\apache\htdocs\kummerforum\ucp_interface.php:53) in c:\apache\htdocs\kummerforum\includes\page_header.php on line 476
Warning: Cannot add header information - headers already sent by (output started at c:\apache\htdocs\kummerforum\ucp_interface.php:53) in c:\apache\htdocs\kummerforum\includes\page_header.php on line 477