Warning: pg_query(): Query failed: ERROR: syntax error at or near "DESC" LINE 1: ...cs.lyrics where janre='Alternative' ORDER by like DESC LIMIT... ^ in /var/www/html/httpdocs/app/models/dbHelper.php on line 4
Query failed: ERROR: syntax error at or near "DESC" LINE 1: ...cs.lyrics where janre='Alternative' ORDER by like DESC LIMIT... ^ query=SELECT id as idl, title, text, picture, id_singer, (SELECT Count(*) From lyrics.likeornot where likeornot.mark='like' and idl=likeornot.id_lyrics) as like FROM lyrics.lyrics where janre='Alternative' ORDER by like DESC LIMIT 10