Horje
invalid datetime format: 1366 incorrect string value Code Example
invalid datetime format: 1366 incorrect string value
//I solved it, encoding to uft-8 all string columns that generated this error before insert.
//For example, the column that generated the error was column-name, I encoded as 
//show bellow. Also I found other column with the same error, I used this solution, too.

$data [
//key=>values 
];

$myModel = new MyModel(); 

$data['column-name'] = DB::connection()->getPdo()->quote(utf8_encode($data['column-name']));

$myModel->insert($data); 




Php

Related
what does the initals of php stand for? Code Example what does the initals of php stand for? Code Example
how to upload large video file in php Code Example how to upload large video file in php Code Example
php array form Code Example php array form Code Example
memory limit wordpress Code Example memory limit wordpress Code Example
learndash logo link Code Example learndash logo link Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
7