Parašė Gugiss· 2008 Bir. 9 20:06:07
#22
Noriu prijungt ir photo_albums lentelę, bet išmeta error'ą saite
Column 'album_id' in on clause is ambiguous
Kas ne taip? Tipo album_id yra dviprasmis...
$uzklausa = dbquery("SELECT * FROM ".$db_prefix."photos LEFT JOIN ".$db_prefix."photo_albums ON album_id = album_id ORDER BY photo_id DESC LIMIT 2");
Redagavo Gugiss· 2008 Bir. 9 20:06:34