I have Special characters (/,space etc) and unicode (test from diff languages) in header of sheet. So how to prepare the insert array, so that it will work properly?
Like
when I add 'Teléfono' as header, then inserting like ['teléfono' => 'Value'] works,
when I add "Hoja de cálculo de Google" as header then I have to pass, ['hojadecálculodegoogle' => 'Value']
so is there any way to change my insert data array key, so that it will work in all cases.
I have Special characters (/,space etc) and unicode (test from diff languages) in header of sheet. So how to prepare the insert array, so that it will work properly?
Like when I add 'Teléfono' as header, then inserting like ['teléfono' => 'Value'] works, when I add "Hoja de cálculo de Google" as header then I have to pass, ['hojadecálculodegoogle' => 'Value']
so is there any way to change my insert data array key, so that it will work in all cases.