Re: Search / Replace using PHP

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Ron Piggott (PHP wrote:

> Is there a command in PHP that is equal to the search & replace function
> in a word processor?
> 
> If I want to search for 'this' and replace it with 'that' what would the
> syntax be?
> 
> Ron

Look for str_replace().

-- 
---------------------------------------------------
João Cândido de Souza Neto
Web Developer

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux