Welcome Guest, Not a member yet? Register   Sign In
DB Query issues
#8

[eluser]stevefink[/eluser]
I got this resolved, btw. The issue was, in my model I was converting the data to an array and then passing that into the view which was causing issues (I think.)

Final result looks like this:

Code:
<?php foreach($photos->result() as $photo): ?>
    <br><br> <hr>
    
    <img src="&lt;?= base_url() ?&gt;&lt;?= $photo->photoloc ?&gt;" />
    
&lt;? endforeach; ?&gt;


Messages In This Thread
DB Query issues - by El Forum - 08-21-2007, 04:03 PM
DB Query issues - by El Forum - 08-21-2007, 04:13 PM
DB Query issues - by El Forum - 08-21-2007, 04:22 PM
DB Query issues - by El Forum - 08-21-2007, 04:27 PM
DB Query issues - by El Forum - 08-21-2007, 04:29 PM
DB Query issues - by El Forum - 08-21-2007, 04:30 PM
DB Query issues - by El Forum - 08-21-2007, 05:20 PM
DB Query issues - by El Forum - 08-21-2007, 05:55 PM



Theme © iAndrew 2016 - Forum software by © MyBB