How to upload image path will store in database and image into folder in cakephp3.6.7

sorry my mistake, should be

$myfolder= WWW_ROOT.DS."files".DS."uploads";

files, uploads must be enclosed in "

got it…,

fetching image…?

how to fetch and show image in cakephp 3.6.7…?

https://book.cakephp.org/3.0/en/views/helpers/html.html#linking-to-images