lundi 18 novembre 2019

Laravel data is not getting inserted for some columns

I am trying to insert the data in laravel where I want to insert 4 columns in DB - empid, name, in-time and out-time.

enter image description here

but i am getting syntax error 'unexpected =' for columns separated by '-' e.g: in-time, out-time.

Is there any way to allow inserting values for '-' separated columns in DB using laravel ?



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire