By gafir777 on
Hi,
I have recently added the filefield module for cck and would try to get the raw filepath of my file from the node page using the $node.
I've tried to do this:
$node -> field_issuecover[$delta]['filepath'];
but it doesn't output anything.
The print_r($node) gives me the following arrays for the field:
[field_issuecover] => Array ( [0] => Array ( [fid] => 275 [list] => 0 [data] => Array ( ) [uid] => 1 [filename] => fall2008.jpg [filepath] => sites/default/files/fall2008_0.jpg [filemime] => image/jpeg [filesize] => 20339 [status] => 1 [timestamp] => 1231522693 ) )
what do I need to write in order to reach the filepath?
Comments
Answer: $curn ->
Answer: