@Yojin_Spajin: SMF does not allow for subselects.
That said, it seems a *very* inefficient way of doing it to me, and you may want nearer to:
[code]
SELECT t.ID_TOPIC, m.subject
FROM smf_topics AS t
INNER JOIN smf_messages AS m ON (t.ID_FIRST_MSG = m.I...
Re: Using SQL queries in Theme template
That said, it seems a *very* inefficient way of doing it to me, and you may want nearer to:
[code]
SELECT t.ID_TOPIC, m.subject
FROM smf_topics AS t
INNER JOIN smf_messages AS m ON (t.ID_FIRST_MSG = m.I...
Re: Using SQL queries in Theme template
0 commentaires:
Enregistrer un commentaire