Array and TextFile

https://ocw.unisza.edu.my/pluginfile.php/3113/mod_page/content/1/record.txt

Read the above record.txt file and assign it into an array (e.g. $data = file('record.txt');).

050126115579#Johan bin Abu#Terengganu#2005-01-26#
050315035566#Puteri bin Zain#Kelantan#2005-03-15#

Then display the file content using table. The file is a delimiter text file using # symbol. The first column is for noic, followed by name, state and date of birth.

[SOLUTION]

https://ocw.unisza.edu.my/pluginfile.php/3113/mod_page/content/1/readfile.php

Last modified: Saturday, 23 February 2019, 10:35 AM