Sure. Enable the included PHP Filter module, set the input filter to 'PHP' when creating your node and you can put your code in the body field.
On Sat, Jul 16, 2011 at 2:38 PM, Wipe_Out wipe_out@users.sourceforge.netwrote:
Might be a silly question but is it possible to create a content type or a node type (excuse terminology errors) that can have say php code that will query the database and display results?
I'm thinking along the lines of creating reports to display database data of whatever description..
TIA
-- [ Drupal support list | http://lists.drupal.org/ ]