$insert = $db->prepare(
'UPDATE titles SET
title_name = :titleName,
title_size = :titleSize,
title_color = :titleColor
WHERE id = :id');
$insert->execute([
':titleName' => $mainTitle,
':titleSize' => $mainTitleSize,
':titleColor' => $mainTitleColor,
':id' => 1
]);
$insert->execute([
':titleName' => $highTitle,
':titleSize' => $highTitleSize,
':titleColor' => $highTitleColor,
':id' => 0
]);
CURLOPT_SAFE_UPLOAD
TRUE to disable support for the @ prefix for uploading files in CURLOPT_POSTFIELDS, which means that values starting with @ can be safely passed as fields. CURLFile may be used for uploads instead.
Added in PHP 5.5.0 with FALSE as the default value. PHP 5.6.0 changes the default value to TRUE.
curl_setopt($cho, CURLOPT_SAFE_UPLOAD, false); // required as of PHP 5.6.0