Field 'pic' doesn't have a default value - on image update query
Hello,
Although I have set the default value, I am still getting the error - Field 'pic' doesn't have a default value - if I do not select the pic in update query. The pic is there as it is displayed on the page.
<?php
// WA_UploadResult1 Params Start
$WA_UploadResult1_Params = array();
// WA_UploadResult1_1 Start
$WA_UploadResult1_Params["WA_UploadResult1_1"] = array(
'UploadFolder' => "../assets/img/",
'FileName' => "[FileName]",
'DefaultFileName' => "" .$getdoctor->getColumnVal("pic"). "",
'ResizeType' => "0",
'ResizeWidth' => "120",
'ResizeHeight' => "120",
'ResizeFillColor' => "#FFFFFF" );
// WA_UploadResult1_1 End
// WA_UploadResult1 Params End
?>