Ugga Posted August 6, 2005 Report Share Posted August 6, 2005 vienreiz jau jautaaju, bet beigaas taa arii nesapratu neko. kjipa man forumaa tiek iepostots teksts kuram pa vidu teiksim ir [QUTE] jaanis teica ka buus lietus .... es gribu to tekstu starp quote noformateet kaa citeejumu. varbuut kaads vareetu iedot skriptu?laikam bija jaaizmanto callback funkcija. jau ieprieksh paldies Link to comment Share on other sites More sharing options...
bubu Posted August 6, 2005 Report Share Posted August 6, 2005 (edited) $text = preg_replace('@\[QUOTE\](.*)\[/QUOTE\]@u', '<div class="citaats">$1</div>', $text); Edited August 6, 2005 by bubu Link to comment Share on other sites More sharing options...
Ugga Posted August 8, 2005 Author Report Share Posted August 8, 2005 nez ko neiet, ja veel ir vairaaki citeejumi vai citeejums citeejumaa. help! :o Link to comment Share on other sites More sharing options...
bubu Posted August 8, 2005 Report Share Posted August 8, 2005 (edited) $text = str_replace(array('[QUOTE]','[/QUOTE]'), array('<div class="citaats">','</div>'), $text); Edited August 8, 2005 by bubu Link to comment Share on other sites More sharing options...
Ugga Posted August 8, 2005 Author Report Share Posted August 8, 2005 thnx, notesteeshu. sen neesmu kodeejis. pametu savu vebu novaartaa. tagad jaatguust nokaveetais Link to comment Share on other sites More sharing options...
Robis Posted August 9, 2005 Report Share Posted August 9, 2005 thnx, notesteeshu. sen neesmu kodeejis. pametu savu vebu novaartaa. tagad jaatguust nokaveetais 20485[/snapback] Un jāpeidz lūrēt "Fantomass"! Link to comment Share on other sites More sharing options...
Ugga Posted August 9, 2005 Author Report Share Posted August 9, 2005 ok! :D Link to comment Share on other sites More sharing options...
Recommended Posts