The gameSatus.dat file contains give lines of text: the first line contains the
ID: 3792803 • Letter: T
Question
The gameSatus.dat file contains give lines of text: the first line contains the experience tokens and character's name; the second line contains the character's type; the third line contains the number of health tokens; the fourth line contains the number of experience tokens; the fifth line contains the number of supply tokens. Your job is to develop the code in restoreGame.php as follows: open the gamestatus.dat file for reading; red the five lines from the file, The code to display the information has been provided.Explanation / Answer
Use 'echo' to print values in php.
gameStatus.dat
Merlin12
Wizard12
30
4
50
Related Questions
Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.