ustawilem se cos takiego
<?php $query = "SELECT * FROM forum_tematy, forum_odp WHERE date=NOW()"; $date = $r['date']; if($date<>'') $date = '<img src="theme/'.$GLOBALS['theme'].'/forum/folder_new.gif" alt="Nowa Odpowiedz" width="16" height="16" border="0" />'; else $date = '<img src="theme/'.$GLOBALS['theme'].'/forum/folder.gif" alt="Brak Odpowidzi." width="16" height="16" border="0" />'; ?>
jak sprawdzam czy dzial to mam o taki następujacy błąd:
Kod
Warning: mysql_query(): Column 'date' in where clause is ambiguous in C:\apache2triad\htdocs\skry\cmsik\module\forums.php on line 14 Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in C:\apache2triad\htdocs\skry\cmsik\module\forums.php on line 15