Hamlets Posted June 19, 2006 Report Share Posted June 19, 2006 (edited) Palīdziet saprast, kur ir kļūda... $text=preg_replace("#<quote=(.*?)>(.*?)</quote>#si", "0 1", $text); - Tā strādā, bet tā $text=preg_replace("#<quote="(.*?)">(.*?)</quote>#si", "0 1", $text); ne :( Edited June 19, 2006 by Hamlets Link to comment Share on other sites More sharing options...
v3rb0 Posted June 19, 2006 Report Share Posted June 19, 2006 tā jau nav regex vaina, bet pēdiņu nepareizi. http://lv2.php.net/types.string Link to comment Share on other sites More sharing options...
bubu Posted June 19, 2006 Report Share Posted June 19, 2006 Varbūt pabrīnīsies arī kāpēc echo "zzz " ppp " tttt"; nestrādā? Link to comment Share on other sites More sharing options...
Recommended Posts