Solved

help me go from perl to php

Posted on 2002-04-01
3
160 Views
Last Modified: 2006-11-17
How do i do this in php

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

thanks kieran
0
Comment
Question by:kplonk
  • 2
3 Comments
 
LVL 5

Accepted Solution

by:
andriv earned 20 total points
ID: 6910892
$opendate = str_replace("replace these","replace with",$opendate);
0
 

Author Comment

by:kplonk
ID: 6911011
just the job thanks
0
 
LVL 5

Expert Comment

by:andriv
ID: 6911049
Glad I can help.

Andy
0

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction This article is intended for those who are new to PHP error handling (https://www.experts-exchange.com/articles/11769/And-by-the-way-I-am-New-to-PHP.html).  It addresses one of the most common problems that plague beginning PHP develop…
3 proven steps to speed up Magento powered sites. The article focus is on optimizing time to first byte (TTFB), full page caching and configuring server for optimal performance.
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.

813 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now