View Single Post
Old 02-07-2010, 07:40 PM   #2
tux
tux's Avatar
 
Join Date: Feb 2007
Location: Isle of Wight, that little island right at the bottom of the UK
Posts: 657
Default

PHP Code:
<?php

$uploaded_thumbs_array 
= array(=> 't_Desert Landscape_1.jpg'=> 't_Desert Landscape_2.jpg'=> 't_Desert Landscape_3.jpg');

foreach(
$uploaded_thumbs_array as $uploaded_thumbs){
$uploaded_thumbs =        str_replace(" ""_"$uploaded_thumbs);

echo 
$uploaded_thumbs."<br>";
}
?>
will output......

t_Desert_Landscape_1.jpg
t_Desert_Landscape_2.jpg
t_Desert_Landscape_3.jpg
tux is offline   Reply With Quote