I have a PHP script that is supposed to upload Word documents.
However, the script only executes when a previous document is already in existence in the system.
I need the script fixed so that it executes even when there isn't a previous document already uploaded.
This script uses PDO, here is a very brief snippet (I've attached the full file for review)
=====================
$qry = "CALL addAttachment(:resume_doc, :resume_filetype, :resume_filename, :id)";
$conn->open();
$stmt = $conn->prepare($qry);
$conn->setAttribute(PDO::ATTR_ERRMODE,PDO::ERRMODE_EXCEPTION);
$stmt->bindParam(':resume_doc', $resume_doc);
====================
PLEASE do not bid if you are unfamiliar with PDO.
I also have additional scripts that need repair, should you fix this script in a timely manner, I'd be more than happy to hire you to fix some of my other scripts.
This needs to be fixed QUICKLY, by the coming Monday at the latest.
The script only contains 50 or so lines of code. My budget is no more than $30.
We possess more than 5 years of experience in web design / development / Logo Design / Article Writing / Blog Writing / Content Writing. We assure providing cost effective solutions and quick turn-around time. We can be reached on IM or through emails or through phone calls at all times (24 hours a day and 7 days a week). We are well qualified professionals (having Masters Degree in computer applications). We have successfully complete more than 1000 of web applications till now. We provide full support to our customers even after we have signed off their projects. This support includes minor tweaks in the deisn, css stylesheet changes, validations and minor code changes.
It is our first attempt to work ongeafreelancer website. Hope for a happy start.