I used the variables you gave me in relation to ... < strong> previous question
$praBanco .=" '".$file_destination."', ";
for ($x = 1; $x <=$quantColunas; $x++) {
$colunas.=" ads_image_".$x." = ";
}
$praBanco = substr($praBanco,0,-1);
$colunas = substr($colunas,0,-1);
$colunas
and $praBanco
The problem is that ... It does not update because I think something is wrong regarding the entry in the update.
$smtp_process = "UPDATE public_ads SET ads_title = '$ads_title', ads_content = '$ads_content', ads_price = '$ads_price', edit_attempts = edit_attempts + 1, $colunas = '$praBanco' WHERE ads_id = '$editor_id'";
$smtp_request_query = $con->query($smtp_process);
But ... it does not update nor show errors ...
I think about this: $colunas = '$praBanco'
The goal is for it to add in the Database the path of uploaded images. As done in INSERT, now UPLOAD.