ok I'm suppose to call up a certain txt file then using loop then check the contents let's say if the first eight words are set how it should be and if it is an actual email address blah blah....
I don't have much because I'm totally stuck but this is what I have for now....
$fileContents = file("./aaa/aaa.txt);
foreach($fileContents as $row)
{
}
totally don't have much.....because I'm totally confused....
and let's say in that aaa.txt this is what's inside
a456789,baloney,tony,t_baloney@shaw.ca
a221111,lasty,firsty,e@mail.ca
but I have to then check if the first part is start with a and exact 6 numbers after no more or less and also check if the email is valid...like email contains xxxxx@xxx.xx
anyone able to give me a clue, a hand or help me out please?
Thanks in advance....