Quote:
Originally Posted by Slocate
Its works now! Thanks so much!
Another error when i click on userdetails
SQL Error
Table 'imgp2p_db.phpbb_posts' doesn't exist
Do u have idea how can fix it :(
|
if you not going to install the phpbb forum...
change this
PHP Code:
$res = mysql_query("SELECT COUNT(*) FROM phpbb_posts WHERE poster_id=" . $poste_id) or sqlerr();
PHP Code:
$res = mysql_query("SELECT username FROM phpbb_users WHERE username=" . $user["id"]) or sqlerr();
to this
PHP Code:
$res = mysql_query("SELECT COUNT(*) FROM posts WHERE poster_id=" . $poste_id) or sqlerr();
PHP Code:
$res = mysql_query("SELECT username FROM users WHERE username=" . $user["id"]) or sqlerr();