Here\'s my code:
$stmt = $conn->mysqli->prepare(\'INSERT INTO photos (CaseNo, ImageName, CaptureTime, UploadTime) VALUES (?,?,?,?)\'); $stmt->bind_p
Maybe you need to cast it to string?
...$extension, (string) $captureTime, (string) $uploadTime);