Query: SELECT lps.*, users.*
FROM lps,users
WHERE lps.id=
AND users.id=lps.user_id
Warning: SQL Error: 1064: 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 users.id=lps.user_id' at line 4 in /home/cpsyphka/public_html/league/cake/libs/model/datasources/dbo_source.php on line 437