append part of php file
Posted: Mon Feb 06, 2012 4:51 am
What i'm trying to do is upload a file, and create a div inside of the page which has an image relating to the file depending on a setting in the program.
But I have no idea on how to achieve this.
I'll make an example of what I want as an image
![Image]()
I want it to choose the picture via the program, which will have a combobox.
Basically I want it to do create a new version of the code below for each file uploaded, with a link to the file.
But I have no idea on how to achieve this.
I'll make an example of what I want as an image

I want it to choose the picture via the program, which will have a combobox.
Basically I want it to do create a new version of the code below for each file uploaded, with a link to the file.
Code: Select all
<div class="mw3file"><img src="mw3.jpg" title="Modern Warfare 3 Render Pack" /><br /><a href="files/renderpack.zip">Modern Warfare 3 Render Pack.zip</a></div>