Davis Posted March 5, 2007 Report Share Posted March 5, 2007 http://goma.sytes.net/guestbook/guestbook.php . Kā novērts to, ka pagarinās table no ierakstītā teksta? Lai pagarinās uz leju ne uz malu Link to comment Share on other sites More sharing options...
Roze Posted March 5, 2007 Report Share Posted March 5, 2007 http://lv.php.net/wordwrap Link to comment Share on other sites More sharing options...
IM24LV Posted March 6, 2007 Report Share Posted March 6, 2007 CS :D Link to comment Share on other sites More sharing options...
Davis Posted March 6, 2007 Author Report Share Posted March 6, 2007 (edited) Vareetu luudzu uzrakstiit kaa un kur man ir tas word wrap jaalieto? man kkaa nesanaak Edited March 6, 2007 by Davis Link to comment Share on other sites More sharing options...
Stopp Posted March 6, 2007 Report Share Posted March 6, 2007 Vai nu pie datu saglabāšanas, vai nu pie outputa. Labāk jau ir pie outputa. Tur, kur tu liec echo $text;, liec echo wordwrap($text, 20, "<br/>");. Traki vienkārši, ne? Link to comment Share on other sites More sharing options...
Davis Posted March 6, 2007 Author Report Share Posted March 6, 2007 (edited) nu es ieliku tur echo wordwrap($message, 20, "<br/>");, bet nekas nesanāca . starpcitu kāpēc komentāriem nerāda garumzīmes?? Edited March 6, 2007 by Davis Link to comment Share on other sites More sharing options...
Stopp Posted March 6, 2007 Report Share Posted March 6, 2007 (edited) Tāpēc, ka nav vajadzīgā charseta visur. PS. pamēģini nevis 20, bet 3 pie wordwrap. Edited March 6, 2007 by Stopp Link to comment Share on other sites More sharing options...
Davis Posted March 7, 2007 Author Report Share Posted March 7, 2007 es nezinu kāpēc, bet tagad garumzīmes strādā . Ar to wordwrap gan nekā .. Link to comment Share on other sites More sharing options...
Roze Posted March 7, 2007 Report Share Posted March 7, 2007 Tev ir jāizmanto pēdējais parametrs. wordwrap($message, 20, '<br/>',1);, tas nozīmē ka tiks lauzti arī vārdi ja tie būs garāki.. Link to comment Share on other sites More sharing options...
Davis Posted March 7, 2007 Author Report Share Posted March 7, 2007 liels paldies Link to comment Share on other sites More sharing options...
Recommended Posts