I am trying to assign a string to a variable like that
$start "<?xml version="1.0" encoding="utf-8"?>"
Its giving me error
PHP Parse error: syntax error, unexpected T_DNUMBER
I think its because I am inserting ” between and also ?
How to solve this ?
Escape it with a backslash:
Or use a different quote:
See the PHP manual page about strings for details.