I have a stored set of messages(string) for sending sms through PHP in MySql, say
We have received [MACHINE_NAME] for service. Your service request id is [NEW_SERVICE_ID]. Thank you.
Now I have to replace [MACHINE_NAME]
with machine name and [NEW_SERVICE_ID]
with service id generated by PHP script. Do I need to use str_replace() function multiple times to replace words?