• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 166
  • Last Modified:

help me go from perl to php

How do i do this in php

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

thanks kieran
0
kplonk
Asked:
kplonk
  • 2
1 Solution
 
andrivCommented:
$opendate = str_replace("replace these","replace with",$opendate);
0
 
kplonkAuthor Commented:
just the job thanks
0
 
andrivCommented:
Glad I can help.

Andy
0

Featured Post

Get expert help—faster!

Need expert help—fast? Use the Help Bell for personalized assistance getting answers to your important questions.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now