4 ms·
In the example given there, use json_encode($name) That will encode any data structure properly for output into JavaScript.
by dana321 7y ago
In the example given there, use json_encode($name)
That will encode any data structure properly for output into JavaScript.