which function can assign the output to a string variable?
Comment on this Question and Answer >>>
ASK A QUESTION
More functions PHP Questions
I'm trying to replace multipl occurences of "[nuber_goes_here]" in a string using preg_replace. $string = 'This is a sentence with a [25] in it.'; echo $string.''; $pattern = '/(\[)(\d+)(\])/'; $replacement = ' '.return_name(What is a static variable within a function?
Hey, I need a php script to copy a complete directory to a new one (which is a variable). i.e www.webpage.com/example/ --> www.webpage.com/folder_just_created/. I've looked for hours Kurt
How do I return a value from a function?
