as salam. insyaallah all of us are healthy during this time. ameen 🙂

in PHP object-oriented way. this will read the file content as array & we need to print the whole content line by line.

$file = new SplFileObject(‘fz_sample.txt’);
foreach ($file as $line)
echo $line;

🙂 #readasarray

wassalam 🙂


About fzfain88

islam. moderate. programmer. did all because allah. :)

4 responses »

  1. Brandie says:

    I loved as much as you’ll receive carried out right here. The sketch is attractive, your authored subject matter stylish. nonetheless, you command get bought an shakiness over that you wish be delivering the following. unwell unquestionably come more formerly again since exactly the same nearly a lot often inside case you shield this hike.

    • fzfain88 says:

      tq brandie. maybe it’s attractive, stylish as what u think, but i pray the contents would be easy too to understand by others. anyway, tq again. will make an improvement next time. insyaallah 🙂

  2. Hi Sherri Ike. I am pleased anytime someone shares my blog with a friend or associate or back-links it from their blog. As you have already offered, my only request is that you credit my website and blog as the source or preferably just provide them the backlink. Thanks for your enthusiasm.

As salam. Hi. Leave a Comment?

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s