I have a .txt file on my web server (locally) and wish to use that .txt content in my PHP block. The .txt file contains a number that is updated by another script on another page, but for this page I just want to pull the number/txt file contents from the file and need to replace with "$savedSession" on this function;
echoing you can use the
= assignment operator to assign the value to a variable.
$variable = file_get_contents('stuff');