Jump to content

[SOLVED] str_replace


the-botman

Recommended Posts

ok hi guys ...

 

i am not sure if i am posting my question in the rite place but here goes.

i want to str_replace all numbers between 0-60 and change the colour of the numbers this is what i have and it works but using this way i need to have 60 lines of code is a any other way?

 

$Fguide = str_replace('0','<font face="Verdana" color="red" size="2">0</font>',$Fguide);

Link to comment
https://forums.phpfreaks.com/topic/181778-solved-str_replace/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.