There has to be a more elegant way of doing this
| From: | Mike | Date: | Wed, 31 Jul 2002 12:53:47 +0000 |
| Subject: | There has to be a more elegant way of doing this | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-110513@lists.php.net to get a copy of this message | ||
Heya,
I was just wondering If there is a more elegant way of doing this...
$string =
str_replace('%mp3number%',$ARRAY['mp3number'],str_replace('%file_size%',
$file_size,str_replace('%url%',$url,str_replace('%title%',$title,str_rep
lace('%artist%',$artist,$format)))))
Thank You,
Mike
funyon@funyon.com
mmacrae@wwnet.net