View Single Post
Old 02-06-2010, 06:09 PM   #1
deafboyzaudio
 
Join Date: Jul 2009
Location: west coast, U.S.A.
Posts: 176
Default why does this str_replace not work?

this doesnt work and i cant figure out why....

EXAMPLE:

$uploaded_thumbs_array = Array ([0] => t_Desert Landscape_1.jpg )
Code:
foreach($uploaded_thumbs_array as $uploaded_thumbs){
        str_replace(' ', '_', $uploaded_thumbs);
    }
    print_r($uploaded_thumbs_array);
the print_r($uploaded_thumbs_array); returns
Code:
Array ([0] => t_Desert Landscape_1.jpg )
THe DAMN spaces are still there.... WHY???????
deafboyzaudio is offline   Reply With Quote