Welcome Guest, Not a member yet? Register   Sign In
Looping file
#5

(This post was last modified: 07-20-2016, 12:37 PM by Wouter60.)

This will never work.

You can't start php code without closing the previous php code block.
Another mistake is to include base_url() twice in one image source path.
I think your code should be:

PHP Code:
<td><img src="<?= base_url() . 'uploads/' . $image['src'];?>" height="300" width="400" /></td
Reply


Messages In This Thread
Looping file - by davy_yg - 07-20-2016, 03:25 AM
RE: Looping file - by InsiteFX - 07-20-2016, 03:38 AM
RE: Looping file - by mwhitney - 07-20-2016, 06:42 AM
RE: Looping file - by davy_yg - 07-20-2016, 08:35 AM
RE: Looping file - by mwhitney - 07-20-2016, 01:47 PM
RE: Looping file - by davy_yg - 07-20-2016, 09:37 PM
RE: Looping file - by mwhitney - 07-22-2016, 10:56 AM
RE: Looping file - by Wouter60 - 07-20-2016, 09:00 AM
RE: Looping file - by PaulD - 07-21-2016, 03:09 AM
RE: Looping file - by InsiteFX - 07-21-2016, 03:18 AM
RE: Looping file - by Ivo Miranda - 07-22-2016, 12:19 PM



Theme © iAndrew 2016 - Forum software by © MyBB