Quote:
Originally Posted by Colmike9
This is what I thought earlier, like just use Zombie.. But I was pretty high so I didn't reply lol. 
|
I suspect OP is just looking for something like string replace and just wants to change the output...
$stringFromDB = "my cat can't swim...";
$newString = str_replace("cat", "zombie", $stringFromDB); //replace
echo $newString; //print
No clue how that animal name from the table column/row got inside that string in the first place... I mean, why the string isn't "my zombie can't swim...", in the first place... But hey, if it helps.
