Active
Project:
Views Custom Field
Version:
6.x-1.0
Component:
Miscellaneous
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
12 Nov 2011 at 18:29 UTC
Updated:
17 Nov 2012 at 19:00 UTC
hi i have tried putting this in my field,
<?php
$amount = db_result(db_query('SELECT MAX(amount) FROM {table}));
echo $amount
?>
But it doesnt display anything in the field.
Is this supposed to happen?
how can I fetch data from my database?
Thanks for any help
Comments
Comment #1
hockey2112 commentedAny luck getting something like this to work? I need to pull in some fields from an Ubercart add-on module in a Views report.