I need it to be inserted in the DB -
original
$UpdateQuery->bindColumn("horse_pic5", "s", "".($WA_DFP_UploadStatus["WA_UploadResult5"]["serverFileName"]) ."", "WA_BLANK");
Revision below worked other than I need the correct format to add the horse id -
<?php echo($WADAhorses_update->getColumnVal("horseid")); ?>
$UpdateQuery->bindColumn("horse_profile_pic", "s", "https://mysupersite.com/horse-sale-2020/horseid/".$WA_DFP_Status["WA_UploadResult2"]["WA_UploadResult2_1"]["serverFileName"] ."", "WA_BLANK");
My attempt at horseid did not work.
$UpdateQuery->bindColumn("horse_profile_pic", "s", "https://mysupersite.com/horse-sale-2020/$WADAhorses_update->getColumnVal("horseid")/".$WA_DFP_Status["WA_UploadResult2"]["WA_UploadResult2_1"]["serverFileName"] ."", "WA_BLANK");