AnetiX Posted August 15, 2003 Report Share Posted August 15, 2003 Man vaig EREGI_REPLACE paternu dabuut taa lai piem. es uzraxtu [a]<table>[/a] un vish to <table> ieliek boldaa... <code><font color="#000000"> $komentars = eregi_replace("[+[a-zA-Z0-9]+]","<b></b>",$komentars);</font> </code> Shis dereetu ,bet tagad vish tikai to dariitu ,ja table ir 1x rindinjaa.. varteikt vaig taa lai vish skataas [a] un ja ir [/a] tad visu starp to ieliek BOLDaa. Manliekas ka EREGI_REPLACE buutu pareizais celjsh... tikai taa paterna jaasaregulee... <_< Link to comment Share on other sites More sharing options...
3ps Posted August 17, 2003 Report Share Posted August 17, 2003 http://paste.php.lv/274 Link to comment Share on other sites More sharing options...
Recommended Posts