Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Hurry up please, I'll give you a like 2. Assume there na PHP program called retreimages.php that expects input representing a date. The date format

Hurry up please, I'll give you a like

image text in transcribed
image text in transcribed
image text in transcribed
2. Assume there na PHP program called retreimages.php that expects input representing a date. The date format must be DD-MM-YYYY. The input is submitted using GET method. The program prits all ages (including HTML Img tap that were uploaded on that date from the Database Wie laverit function only, named retrives that valitne the date format wing regular expression (ie 45-14-2014 is invalid date) and the use AJAX request to retrieve all images uploaded on that date and write the rest in die tag wheseid is ples Like GamiObject)faction to creates AJAX ohject. Note that DD should be between and 31, MM should be between and 12 and YYYY can be any digit: 110 Markal

fores Short Answer Questions Samples 1. What are the differences between Sessions and Cookies? State ONE real-life example for using each type in web development 2. When does the PDO Transaction needed? Give cumple showing how to use it in PHP script when executing 2 different SQL statements samod (SQL1, SQL:22 3. Compare HTTP GET and POST and state when we cache Question 2 JavaScript/AJAX Samples 1. Write JavaScript statements to count the number of radio buttons and text fields for each form in a wepes. The coumt sold be displayed in new browser window as follows 19 Marks Sample Output in New Bremser Window Form 1 has 2 Radios and 3 Textfield Form 2 has 9 Radios and 0 Textfields 2. Assume there is a PHP program called retreivelmages.php that expects 1 input representing a date. The date format must be DD-MM-YYYY. The input is submitted using GET method. The program prints all ages (including HTML img taps) that were uploaded on that date from the Database Write JavaScript function only, sumed retries that validate the date format using regular expression i.e. 45-14-2014 is invalid date) and then se AJAX request to retrieve all images uploaded on that date and site the results in div tag whose id is pics. Use GetXmlitbocal function to creates AJAX object. Note that DD should be between of and 31, MM should be between 01 and 12 and YYYY can be any 4 digits. 10 Marks chtml>cbody

Date:

Pics:

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Data Visualization A Practical Introduction

Authors: Kieran Healy

1st Edition

0691181624, 978-0691181622

More Books

Students also viewed these Databases questions