I Want change all Strings starting with {" and ending with "}
to a variable,
for example:
Hello {username}, -> to Hello $array['username']
Your Country is {country}, -> Your Country is $array['country']
But i get all strings text from database with one variable (Mysql) With $array['content']
What I Want:
str_replace("{$whatinhere}",$array['$copytohere'],$array['content']);
str_replace("{company}",$array['company'],$array['content']);