Does str_replace have limits

Ask about general coding issues or problems here.

Moderators: macek, egami, gesf

Post Reply
us2rn4m2
New php-forum User
New php-forum User
Posts: 17
Joined: Thu Aug 09, 2012 1:28 pm

Re: Does str_replace have limits

Post by us2rn4m2 » Mon Oct 08, 2012 8:44 am

No parse error in the first line.

Correction:

Code: Select all

$find  ='><a href="http://my.url.com/fancy-dress';
$_menu = str_replace($find, ' id="fancy-dress-tab"', $find);
echo $_menu;
http://php.net/manual/en/function.str-replace.php

Post Reply

Who is online

Users browsing this forum: Bing [Bot], Yahoo [Bot] and 4 guests