Fatal error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'and pp.id=p.pid' at line 1 ----- select p.*,pp.ident as pident,pp.titlu as ptitlu from produse p, produse pp where p.id= and pp.id=p.pid in /home/parchet/public_html/include/class/mysql.class.php on line 29