S2kDesigns Technical Blog
Replace the string instead of searching string in PHP [Replace String ]
Wednesday, August 19, 2009, 09:12 AM -
PHP
Posted by Administrator
<?php
$replace = str_replace("r", "t", "kumar");
echo $replace;
?>
**********output ********
kumat
// here r replace with t
[ add comment ]
( 1 view ) |
permalink
|
( 3.1 / 27 )
<<First
<Back
|
1
|
2
|
3
|
4
|
5
| 6 |
7
|
8
|
9
|
Next>
Last>>
Links
Home
Contact Me
Stats
Login
Calendar
«
June 2010
»
Sun
Mon
Tue
Wed
Thu
Fri
Sat
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
09/06/10
Random Entry
perl CGI
Action script 2.0 Trim function
Change something in multiple files using Find
Show the Tip box in html using Javascript
Slide Show more then one image in Java Script
Archives
View Archives
2010
June
Mysql: How to drop a Unique Constraint?
06/03/10
May
April
March
February
January
2009
December
November
October
September
August
2008
October
Categories
HTML
JavaScript
PHP
PERL/Shell Scripting
Apache
IPhone
ActionScript
Interview
MySQL
.net
Joomla
Windows 7
Search
Search
Counter Totals
Total:
9,913
Today:
28
Yesterday:
31
Most Recent Entries
Mysql: How to drop a Unique Constraint?
How to find world writable directories by "find" command?
perl - handling sigint
Perl Important links
Perl - Difference Between my local our
Windows 7: I want WinXP Style back
Windows7 How to add the Quicklaunch Toolbar
opensubtitles.org oscar not working - resolved
Find Joomla Module Positions
Duplicate a Table using Javascript
Most Recent Comments
Yuriy
01/23/10
A similar form can be generated using form builder