goma smile Posted September 14, 2008 Report Share Posted September 14, 2008 echo "<img SRC=images/video.gif alt='Ievietoja ".$row['starter_name']." $piev_datums '> <a href=\"$forums/index.php?showtopic=".$row['tid']."\">[b]".(strlen($row['title'])>30?substr($row['title'],0,30).'...':$row['title'])."[/b]</a> "; šis ir kods uz to ka ja teksts ir garaks pa 30 zimem tad teksts tiek partraukts ar daudz punktiem a ka var ka tas teksts pec 30 zimem saksies jauna linijā ? Link to comment Share on other sites More sharing options...
waplet Posted September 14, 2008 Report Share Posted September 14, 2008 /r/n Link to comment Share on other sites More sharing options...
andrisp Posted September 14, 2008 Report Share Posted September 14, 2008 http://lv.php.net/wordwrap Link to comment Share on other sites More sharing options...
blackhalt Posted September 14, 2008 Report Share Posted September 14, 2008 (edited) HTMLiski ieliec tukšumu vai < br /> , ja vajag loģiski lauzt. Nē, ja A tags, tad tukšumu. Edited September 14, 2008 by blackhalt Link to comment Share on other sites More sharing options...
goma smile Posted September 14, 2008 Author Report Share Posted September 14, 2008 Tnq ir :) Link to comment Share on other sites More sharing options...
Recommended Posts