php - Images Not Displaying -


What I need is that the images are not shown anything else.

I have a

my code:

   file); } Header ("Location:". $ _SERVER ['REQUEST_URI']); }? & Gt; & Lt ;? Php if (empty ($ files)) {? & Gt; & Lt; Form name = "form1" method = "post" & gt; & Lt ;? Php foreach (dollar files as $$ => $ file) {? & Gt; & Lt; Label = "file_ & lt ;? php echo $ key ;; & gt; & Gt; & Lt; Input type = "checkbox" name = "file []" id = "file_  & Lt; / Form & gt; & Lt ;? Php}? & Gt;    

The question is not clear to me, but it appears that you want to display images The form (next to each "Delete" checkbox), the user can see what they are removing?

If this is the case, do you

  & lt; Php echo UPLOAD_DIR. .DS $ file; ? & Gt;   

to

  & lt; Img src = & lt ;? Php UCO UPLOAD_DIR.DS. $ File; ? & Gt; / & Gt;    

Comments