Can anyone tell me why this code does not return true when the file in the directory cherpdocs/ with the file (which I see as being there) does exist?

if(file_exists('cherpdocs/$annrow[id].doc')){
echo "<br /><a href=\"cherpdocs/$annrow[id].doc\">Funding details paper</a>";
}


This is a path relative to the file calling it, should it be otherwise?

Thanks
Charles


-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to