dAivEd Posted October 1, 2009 Report Share Posted October 1, 2009 (edited) Sveiki visiem! Man ir tāda problēma, rekur mans kods. $comment = $row[2]; // izvelkas komentāru no datubāzes. $comment_show = bb2html(wordwrap("$comment", 60,"[br]", true)); Bet kad kāds ieliek bildi piemēram: [img=http://google.lv/images/show/icons/small/16x16_icon.gif] Mans kods uzskata šo ka vairāk pa 60 simboliem un ieliek šita [img=http://google.lv/images/show/icons/small/[br]16x16_icon.gif] Ko es varu izdarīt šaja gadijuma ? Edited October 1, 2009 by dAivEd Quote Link to comment Share on other sites More sharing options...
Web Developer Posted October 1, 2009 Report Share Posted October 1, 2009 Nepārsē to, kas atrodas starp atsevišķiem tagiem. Quote Link to comment Share on other sites More sharing options...
dAivEd Posted October 1, 2009 Author Report Share Posted October 1, 2009 Nepārsē to, kas atrodas starp atsevišķiem tagiem. A ar cilvēka saprotamiem vardiem ? Quote Link to comment Share on other sites More sharing options...
yeahz Posted October 1, 2009 Report Share Posted October 1, 2009 nepārgriez vietas, kuras atrodas starp [/img] Quote Link to comment Share on other sites More sharing options...
dAivEd Posted November 19, 2009 Author Report Share Posted November 19, 2009 (edited) Un kadu piemēru varētu iedot ? EDIT: Paldies visiem! Tikko pamaniju ja [br] vieta ielieku \n tad viss strāda perfekti ! Edited November 19, 2009 by dAivEd Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.