Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- SELECT
- t.item_id as id,
- legkoe.img,legkoe.id
- FROM
- dle_archive_cat as t
- LEFT JOIN dle_archive_legkoe as legkoe ON t.id=legkoe.id
- WHERE
- legkoe.id='$in[id]'
- UNION ALL
- SELECT
- t.item_id as id,
- noji.img,noji.id
- FROM
- dle_archive_cat as t
- LEFT JOIN dle_archive_noji as noji ON t.id=noji.id
- WHERE
- noji.id='$in[id]'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement