SQL query per caricare nodi specifici in Drupal 2


/ Published in: PHP
Save to your folder(s)



Copy this code and paste it in your HTML
  1. $result = db_query("SELECT n.nid, n.title FROM {node} n, {term_node} t, {term_data} d WHERE n.type = 'scroceedu' AND d.name="Personalità" AND n.status = 1 AND n.nid=t.nid AND t.tid=d.tid ORDER BY n.created DESC);

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.