Posted By

ReeceMarsland on 12/04/09


Tagged

mysql php drupal


Versions (?)

Who likes this?

5 people have marked this snippet as a favorite

fabianderijk
EkTrOn
titosemi
halfshadows
batandwacolani


Drupal 6.x Find PHP code in database


 / Published in: MySQL
 

  1. SELECT nid, vid FROM node_revisions WHERE FORMAT IN (SELECT FORMAT FROM filters WHERE module = 'php' AND delta = 0);
  2.  
  3. SELECT cid, nid FROM comments WHERE FORMAT IN (SELECT FORMAT FROM filters WHERE module = 'php' AND delta = 0);
  4.  
  5. SELECT bid, info FROM boxes WHERE FORMAT IN (SELECT FORMAT FROM filters WHERE module = 'php' AND delta = 0);

Report this snippet  

You need to login to post a comment.