Kumaresan Drupal Developer at Chennai
Please follow this blog if u feel the blog content is useful to you
Friday, June 15, 2012
Get single field value from a table in drupal7
<?php
$filename = db_query("SELECT uri from file_managed where fid=:fid", array(':fid' => arg(3)))->fetchField();
echo $filename;
?>
Newer Posts
Older Posts
Home
Subscribe to:
Posts (Atom)