hany
hany

Reputation: 49

Adding dynamic variables to html content using php

I have some html templates saved in MySQL database and I need to mix the retrieved html template with some variables, But when I do that I get the variable name printed instead of it's value. How can I solve this issue ??

Upvotes: 0

Views: 164

Answers (1)

hany
hany

Reputation: 49

I used str_replace function and it worked fine for me. Thanks

Upvotes: 1

Related Questions