I found the answer to this question over the internet – but I didn’t really get it.
Can someone please give me the answer (the code), and explain it? Cheers!
What I want to know how to do is:
<?php
$variable = include('websitetitle.txt');
<?
Cheers.
$variable = file_get_contents('websitetitle.txt');Keep in mind this is bad practice, in general (storing data in .txt files).