It seems that the problem was in the
posts_row
; when I changed it to topics_row
it worked.Also, you don't need to specify all tables in the SELECT statement. I used * (all tables).
posts_row
; when I changed it to topics_row
it worked.so more server loadAwesomeStyle wrote:I used * (all tables).
Oh, thanks for the noticeViolaF wrote:so more server loadAwesomeStyle wrote:I used * (all tables).
*
is in use Code: Select all
Fatal error: Cannot redeclare deregister_globals() (previously declared in C:\xampp\htdocs\includes\startup.php:47) in C:\xampp\htdocs\includes\startup.php on line 114
[size=130]*[/size]
again to fetch topic columns data from table? Code: Select all
if (!function_exists('deregister_globals')) {
$your_doubled_deregister_globals_whatever_function;
}
You include common.php twice.AwesomeStyle wrote:When I want to put the code in a class, I get this error:Current code:Code: Select all
Fatal error: Cannot redeclare deregister_globals() (previously declared in C:\xampp\htdocs\includes\startup.php:47) in C:\xampp\htdocs\includes\startup.php on line 114
http://pastebin.com/raw.php?i=4V5s00ZP
Call to a member function sql_in_set() on a non-object