Display root folder image in Codeigniter view
i'm trying to display an image which is located at the root folder of my app, in the same level as the application folder, there is an uploads folder that holds the images. I tried many ways to get there, such as this one: <?php foreach($result as $row): ?> <!-- Main Content --> <div class="container"> <div class="row"> <div class="col-lg-8 col-md-10 mx-auto"> <div class="post-preview"> <h2 class="post-title"> <?php echo $row->title; ?> </h2> <h4 class="post-subtitle"> <?php echo $row->calling; ?> <!-- for test pusposes<span>This is the session: //<?php //echo $_SESSION['post_id']; ?></span> -
0 upvotes
View original discussion ↗
Comments
Sign in or sign up to comment and upvote.
No comments yet.