Welcome Guest, Not a member yet? Register   Sign In
foreach image from directory
#1

[eluser]Gabi3xz[/eluser]
how to display all images from a directoy with foreach?
#2

[eluser]meer[/eluser]
first get their names from db, and then in view supply path with the corresponding image names
all images will be displayed with foreach
#3

[eluser]CI_expert_indian[/eluser]
Hi

If you are not storing the name in DB and still u want to get all the names from directory then use glob function in PHP . If this is requirement then i can provide more help about this.




Theme © iAndrew 2016 - Forum software by © MyBB