email1@company1.com
email2@company1.com
email4@company3.com
මෙන්න මේ email list එක මම text file එකක save කරලා තියෙන්නේ
මට ඔනේ මොකක් හරි loop එකක කින් line by line එක වරකට එක ගානේ display කරගන්න
$myFile = "testFile.txt";
$fh = fopen($myFile, 'r');
$theData = fgets($fh);
fclose($fh);
echo $theData;
මම ඔය තියෙන code එක use කලා but ඔකෙන් ගන්න පුලුවන් 1 st email එක විතරයි
දන්න කෙනෙක් help කරන්න
email2@company1.com
email4@company3.com
මෙන්න මේ email list එක මම text file එකක save කරලා තියෙන්නේ
මට ඔනේ මොකක් හරි loop එකක කින් line by line එක වරකට එක ගානේ display කරගන්න
$myFile = "testFile.txt";
$fh = fopen($myFile, 'r');
$theData = fgets($fh);
fclose($fh);
echo $theData;
මම ඔය තියෙන code එක use කලා but ඔකෙන් ගන්න පුලුවන් 1 st email එක විතරයි
දන්න කෙනෙක් help කරන්න