help me go from perl to php

How do i do this in php

$opendate=~s/INSERT DATE HERE/$replaceString/g;

thanks kieran
kplonkAsked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

x
 
andrivConnect With a Mentor Commented:
$opendate = str_replace("replace these","replace with",$opendate);
0
 
kplonkAuthor Commented:
just the job thanks
0
 
andrivCommented:
Glad I can help.

Andy
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.