Question: pls answer the question asap Write a php function that takes a filename as a parameter. Check if that file exists. If it does, append

Write a php function that takes a filename as a parameter. Check if that file exists. If it does, append its contents into a different file with the name "filelog.txt" If it does not exist, have it append "No data from $filename added" into the "filelog.txt".
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
