the following error is occurring when trying to perform update on a specific field in the database
Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'or der=5 WHERE id=34;
\DB::table('action')
->where('id','=','34' )
->update(array('order'=>'5'));
I am try order, 'order', "order","order".
from Newest questions tagged laravel-5 - Stack Overflow https://ift.tt/2NzjolZ
via IFTTT
Aucun commentaire:
Enregistrer un commentaire