goma smile Posted January 26, 2012 Report Share Posted January 26, 2012 (edited) Skripts loti vienkars No teikumu juras izvelk katra teikumu garaako vaardu.... ka var izvadiit normaalu vardu nevis lai lai vins atkal sadala pa burtiem 33 rindina... Kods -> http://paste.php.lv/...478d1181?lang=c Lai nebutu ta ka sadala vardu pa burtiem... http://www.bildites....9i66jnpz4zb.png Un ka var ieprieks minetajam scriptam pievienot lai izvelkt isakos vardus Edited January 26, 2012 by goma smile Quote Link to comment Share on other sites More sharing options...
daGrevis Posted January 26, 2012 Report Share Posted January 26, 2012 Katru burtu pielīmē pie stringa (PHP: $result .= $letter;) un, kad cikls ir beidzies, izvadi stringu. Quote Link to comment Share on other sites More sharing options...
goma smile Posted January 26, 2012 Author Report Share Posted January 26, 2012 Katru burtu pielīmē pie stringa (PHP: $result .= $letter;) un, kad cikls ir beidzies, izvadi stringu. nav ne jausmas ka to izdariit :D Quote Link to comment Share on other sites More sharing options...
php newbie Posted January 26, 2012 Report Share Posted January 26, 2012 pamēģini ar strcat http://www.cplusplus.com/reference/clibrary/cstring/strcat/ Quote Link to comment Share on other sites More sharing options...
Kavacky Posted January 26, 2012 Report Share Posted January 26, 2012 Aizvāc \n jeb pāriešanu jaunā rindā. (facepalm) 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.