Directory Helper Question |
I am using the codeIgniter directory helper but have small question.
When I display my images and directory's in my foreach loop $image variable is a directory it throws error. Error Message: Array to string conversion I have attached image of error. PHP Code: array (size=5) As shown in var dump sub folder is directory but when I echo out the foreach loop it throws error for that directory. Any suggestion I need to display sub directory and images. Images I can display fine PHP Code: <?php View PHP Code: <div class="container" style="margin-top: 20px;">
There's only one rule - please don't tell anyone to go and read the manual. Sometimes the manual just SUCKS!
|
Messages In This Thread |
Directory Helper Question - by wolfgang1983 - 02-04-2016, 03:28 AM
RE: Directory Helper Question - by InsiteFX - 02-04-2016, 03:34 AM
RE: Directory Helper Question - by wolfgang1983 - 02-04-2016, 10:33 PM
RE: Directory Helper Question - by keulu - 02-04-2016, 06:24 AM
RE: Directory Helper Question - by keulu - 02-04-2016, 09:42 AM
RE: Directory Helper Question - by wolfgang1983 - 02-04-2016, 09:23 PM
|