Using the sources provided you are to add functionality to search for all blogs written before a specific date. The framework for the assignment is set for you
user.html Contains the HTML to prompt for a date
blog_user.php PHP code to parse the html form and call the function to search by date
blog_db_interface.php PHP code to perform the search
You will need to
blog_user.php
Convert the date to a unix time stamp using strtotime() 10 points
Verify the strtotime return value. On error throw an exception 10 points
Convert the unix time stamp to a date and time string using date() 10 points
Verify the date functionality. On error throw an exception 10points
If all is OK then call the function to peform the search
blog_db_interface.php
Implement the SQL query to perform the search and display the results
Process errors from calling “prepare”, “execute” and “bind_results”
All errors should result in an exception thrown 10 points
Search result should display “Blogger’s name” “Blog Summary” 10 points
What to turn in (as a single ZIP)
Submit your modified source files: blog_user.php and blog_db_interface.php
Delivering a high-quality product at a reasonable price is not enough anymore.
That’s why we have developed 5 beneficial guarantees that will make your experience with our service enjoyable, easy, and safe.
You have to be 100% sure of the quality of your product to give a money-back guarantee. This describes us perfectly. Make sure that this guarantee is totally transparent.
Read moreEach paper is composed from scratch, according to your instructions. It is then checked by our plagiarism-detection software. There is no gap where plagiarism could squeeze in.
Read moreThanks to our free revisions, there is no way for you to be unsatisfied. We will work on your paper until you are completely happy with the result.
Read moreYour email is safe, as we store it according to international data protection rules. Your bank details are secure, as we use only reliable payment systems.
Read moreBy sending us your money, you buy the service we provide. Check out our terms and conditions if you prefer business talks to be laid out in official language.
Read more
Recent Comments