Could anyone tell me what the problem seems to be with this?
It indicated this was the specific line that there was an issue with; kinda new at this, can anyone help?
$handle = fopen(’‘lovell.txt’’, ‘‘a’’);
This line is fine. You need to check the code above that line. Probably missing semicolon somewhere, or not closed string value (missing single or double quote).