Solved

help me go from perl to php

Posted on 2002-04-01
3
158 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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
htacces issue 2 41
Re-imbursement Claim System 3 25
Phone Dialer 5 37
Post xml via PHP Soap Client 3 10
Consider the following scenario: You are working on a website and make something great - something that lets the server work with information submitted by your users. This could be anything, from a simple guestbook to a e-Money solution. But what…
Deprecated and Headed for the Dustbin By now, you have probably heard that some PHP features, while convenient, can also cause PHP security problems.  This article discusses one of those, called register_globals.  It is a thing you do not want.  …
The viewer will learn how to dynamically set the form action using jQuery.
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

759 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

20 Experts available now in Live!

Get 1:1 Help Now