Do you mean the error message you see states:
“File with given ID not found in database!”
If so, change the error message from:
exit ('File with given ID not found in database!');
to
exit ('File with given ID not found in database! ' . $sql );
You are not thick, you are doing something new, we all feel like that when we are learning.
Thanks again ya’ll are the best.
y’all ?