Change line 20 to this:
echo "<div class='images_thumb'><a href='http://pashtoaudio.com/tahir_upload/".$show_img."'><img src='/tahir_upload/".$show_img."'></img></a></div>";
Note the / in front of your image source, and it should be src (not scr).
pritaeas
Posting Expert
5,484 posts since Jul 2006
Reputation Points: 653
Solved Threads: 875
Urgh. Tidy up your deprecated and dodgy HTML before you start messing with php.
<center>
No need for this - use CSS
<div style="clear:both"></div>
Although not wrong, should be dealt with in CSS. However, why is it empty? Markup like this should be avoided where possible.
Simply has already noted the mistake with the tag.
Also you have no doctype declared, e.g. for HTML5:
<!DOCTYPE html>
A missing DTD may trigger quirksmode in some browsers.
diafol
Rhod Gilbert Fan (ardav)
7,796 posts since Oct 2006
Reputation Points: 1,170
Solved Threads: 1,080