logo-dw

Go Back   Dreamweaver Club Forums > Hand Coders Forum > PHP
Register FAQ Members List Search Today's Posts Mark Forums Read

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
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
 


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 02:41 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2019, vBulletin Solutions, Inc.
Copyright 2006 DreamweaverClub.com