So i want to show all the files from a certain folder all in one collumn(i think i am going to use table for this) and in the second collumn i want a square, and if you click on it to put the marked thing over. Or i need to use pictures for this?
freakvista 0 Light Poster
Recommended Answers
Jump to PostNo idea what you mean... I get thye folder in one coloumn part, the second part "square" and then marked thing... no idea.
We will not know if pictures is better because you need to give us much more information.
Jump to PostDidn't I post this in your other thread?
foreach(glob("countries/{USA,Brazil,UK,India}/{subfolder1,subfolder2,subfolder3}/*.[jJ][pP]*[gG]", GLOB_BRACE) as $r){ $b = basename($r); echo "<img src='$r' alt = '$b' /><br />"; }
$b
will show just the filename.
All 6 Replies
AndreRet 526 Senior Poster

LastMitch
freakvista 0 Light Poster
freakvista 0 Light Poster

diafol
freakvista 0 Light Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.