Perad Posted November 28, 2009 Share Posted November 28, 2009 Hello, I know there is a function but I am having trouble finding it. func ("This is a $1", array('string')); syntax might be a bit wrong but it would replace the variable with whatever is in the array. What is this string called. Link to comment https://forums.phpfreaks.com/topic/183215-replace-variables-in-a-string-function-name/ Share on other sites More sharing options...
phant0m Posted November 28, 2009 Share Posted November 28, 2009 sprintf() Link to comment https://forums.phpfreaks.com/topic/183215-replace-variables-in-a-string-function-name/#findComment-966922 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.