Hello,I Have a php script question. I will pay 5$ to user who post the solution firstly. Please post the solution and PM me your paypal address. I have a .txt wile with some text datas on it. Datas are listed in the text as; Nockin:JJKEL Nursan:OLZK Besat:JKANW Sucan:QQOW I want to export them and list to .html page Name Nockin, Group JJKEL Name Nursan, Group OLZK Name Besat, Group JKANW Name Sucan, Group QQOW Waiting for your answer. thank you
<?php $lines = file('data.txt'); foreach ($lines AS $line) { list($name, $group) = explode(':', trim($line)); echo "Name {$name}, Group {$group}<br />\n"; } ?> PHP: