LinuX Posted March 12, 2010 Report Share Posted March 12, 2010 (edited) Sveicināti, man ir liels lūgums pēc palīdzības, esmu izveidojis teksta ievades formu(nick, comment) ievadot tekstu viss nonāk datubāzē, pēc tam smuki tiek izvadīts no datubāzes man vēlamā vietā, bet problēma ir viena, kad izvadās teksts viņš ir ļoti garš un nepārnesās jaunā rindā pēc noteikta skaita izvadītu simbolu, ir tikai viena nenormāli gara rinda, kas sabojā visu lapu, jo sniedzas ārpus web lapas parametriem. Edited March 12, 2010 by LinuX Quote Link to comment Share on other sites More sharing options...
bobsters Posted March 12, 2010 Report Share Posted March 12, 2010 iemet tās lapas kodu! Kļūda ir css kodā! Jo izvadot tekstu vinš neņem vērā tavus div parametrus Quote Link to comment Share on other sites More sharing options...
2easy Posted March 12, 2010 Report Share Posted March 12, 2010 wordwrap() ftw Quote Link to comment Share on other sites More sharing options...
bobsters Posted March 12, 2010 Report Share Posted March 12, 2010 iemet arī pasas lapas kodu Quote Link to comment Share on other sites More sharing options...
LinuX Posted March 12, 2010 Author Report Share Posted March 12, 2010 kuras tiesi lapas kodu? css, php lapu kura pievieno failus datubazei vai ari php lapu kura izvada failus no datubazes? kuru tiesi? Quote Link to comment Share on other sites More sharing options...
bobsters Posted March 12, 2010 Report Share Posted March 12, 2010 php kura izvada Quote Link to comment Share on other sites More sharing options...
LinuX Posted March 12, 2010 Author Report Share Posted March 12, 2010 Te būs. Paldies 2easy par pateiksanu priekšā ka tas ir wordwrap(), negribu būt nepieklājīgs, bet kur tiesi lai es te vinu ielieku ieksa? Paldies jau iepriekš. Quote Link to comment Share on other sites More sharing options...
2easy Posted March 12, 2010 Report Share Posted March 12, 2010 wordwrap($check_comment, 40) Quote Link to comment Share on other sites More sharing options...
LinuX Posted March 12, 2010 Author Report Share Posted March 12, 2010 liels paldies! Quote Link to comment Share on other sites More sharing options...
chizijs Posted March 12, 2010 Report Share Posted March 12, 2010 Vai arī lieto atstarpes Quote Link to comment Share on other sites More sharing options...
2easy Posted March 12, 2010 Report Share Posted March 12, 2010 Vai arī lieto atstarpes aha, tipa iesaki, lai viņš virs komentāra formas uzrakstītu "Esiet labi, pareizi un godīgi. Rakstiet atstarpes un nerakstiet injekcijas" :D:D:D Quote Link to comment Share on other sites More sharing options...
LinuX Posted March 12, 2010 Author Report Share Posted March 12, 2010 Viss darbojas perfekti, vēlreiz liels paldies. 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.