At midnight, @Joseinnewworld quietly added 8 more #NFTs to his collection 🌙🔥 Truly grateful for the unwavering support — especially in times like these, when #eCash $XEC hasn’t yet moved upward. Your patience and consistency mean a lot 🙏#NFTcollectors #NFTCommunity #NFTdrops pic.twitter.com/UryHUacpsW
— NFToa (@nftoa_) August 25, 2025
Currently I have this line in my code:
<div>
<a href="http://www.envisionforce.com/local/'.$row[website].'-seo-services">'.ucwords($row[website]).'</a>
</div>And it will display the city name like this
Puiol-del-piuBut what I need is to display it without hyphens and for ucwords to capitalize the first letter of each word like this:
Puiol Del PiuIt would be nice if the code could be limited to this one line as I also have a lot more going on with other things on this page.
Solutip
Replace hyphens with spaces
str_replace("-"," ",$row[text])Replace spaces with hyphens
str_replace(" ","-",$row[text])
