neo Posted March 18, 2005 Report Share Posted March 18, 2005 Taatad tests.txt failaa ir sekojosha rinda: kautkas:sheit ir kautkāds teksts Vajag ieguutd divus mainiigos ar veertiibaam kur pirmā mainiigaa veertiiba ir vaards pirms ":" un otru peec ":" . Simbolam ":" nav jaabuut neviena mainiigaa veertiibaa. Paldies Link to comment Share on other sites More sharing options...
v3rb0 Posted March 18, 2005 Report Share Posted March 18, 2005 http://lv.php.net/function.file un http://lv.php.net/explode ir Tavi draugi šinī jautājumā. Link to comment Share on other sites More sharing options...
barons Posted March 18, 2005 Report Share Posted March 18, 2005 $content = file("texsts.txt"); while ($val = each($content)) { $tmp = explode(":",$val[1]); print ($tmp[0]"); print ($tmp[1]"); } kautkaa taa! Link to comment Share on other sites More sharing options...
neo Posted March 18, 2005 Author Report Share Posted March 18, 2005 paldies, viss skaidrs Link to comment Share on other sites More sharing options...
Recommended Posts