[ad_1]
Try:
$filename="C:/xampp/project/Logs/" . $m . '.txt';
You had mismatched quotes. I’ve also changed the backslashes to forward slashes, because backslashes have special meaning in PHP strings; Windows allows either style to be used in pathnames.
4
[ad_2]
solved PHP – use of variable [closed]