Question: Activity -3 Date: 22/2/2021 Write PHP code to send the current date and time to WB as Static Data in the following format: 23/01/2019 11:26:44

 Activity -3 Date: 22/2/2021 Write PHP code to send the current
date and time to WB as Static Data in the following format:

Activity -3 Date: 22/2/2021 Write PHP code to send the current date and time to WB as Static Data in the following format: 23/01/2019 11:26:44 (Assume that the current date is 23 January 2020 11:26:44am): echo "Today date and time is ". date ("d/m/Y H:i:s"); PHP and WB Output: Today date and time is 23/01/2020 11:26:44 Question: What will be the contents of $a, sb, $c, $d, $e in the following examples? $a = date('Y'); $b=date('a'); $c-date('F'); $d=date('i'); $e=date('H'); (1)(a) PHP code for links 3.php (link page) to. Ist of send the following URLs to WB with one data colleges take (college code) from the array variable Nizwa College $colleges. Every URL is to request the 2 Ibra College page links 3Process.php. The WB outprshuluddioge like 2 $colleges=['NCT'=>'Nizwa College', 'SCT'=>'Salalah College', 'ICT'=>'Ibra College']; 3 echo "

List of Colleges

"; 4. echo "

    "; s foreach($colleges as $k=>$v) // or while(list ($k, $v)=each ($colleges)) { $dtoken = "?cc=$k"; // preparing the data token 8. echo "
  1. "; .. echo "$v"; 10 echo "
  2. "; 12 echo "

"; PHP Output:

List of Colleges

  1. Nizwa College
  2. Ibra College
  3. Salalah College

Example 3b: Processing the data token attached with the URL: (3) (b) PHP code for links 3Process.php (process page) to process data token attached with the URL. The WB output should be as follows: Assume that the user clicked on the link Ibra College and he did NOT change data token values. Thank you. Data Token is: ICT College Name is Ibra College Second Data Token has 12 characters 1. $colleges=['NCT'=>'Nizwa College', 'SCT'=>'Salalah College','ICT'=>' Ibra College']; 2. echo "Thank you. Data Token is {$_GET['cc']} "; 3. echo "College Name is { $colleges ($_GET['cc']]} "; 4. $colgn = $colleges [$_GET['cc']); echo "Second data token has:". strlen($colgn). " characters"; Activity -3 Date: 22/2/2021 Write PHP code to send the current date and time to WB as Static Data in the following format: 23/01/2019 11:26:44 (Assume that the current date is 23 January 2020 11:26:44am): echo "Today date and time is ". date ("d/m/Y H:i:s"); PHP and WB Output: Today date and time is 23/01/2020 11:26:44 Question: What will be the contents of $a, sb, $c, $d, $e in the following examples? $a = date('Y'); $b=date('a'); $c-date('F'); $d=date('i'); $e=date('H'); (1)(a) PHP code for links 3.php (link page) to. Ist of send the following URLs to WB with one data colleges take (college code) from the array variable Nizwa College $colleges. Every URL is to request the 2 Ibra College page links 3Process.php. The WB outprshuluddioge like 2 $colleges=['NCT'=>'Nizwa College', 'SCT'=>'Salalah College', 'ICT'=>'Ibra College']; 3 echo "

List of Colleges

"; 4. echo "

    "; s foreach($colleges as $k=>$v) // or while(list ($k, $v)=each ($colleges)) { $dtoken = "?cc=$k"; // preparing the data token 8. echo "
  1. "; .. echo "$v"; 10 echo "
  2. "; 12 echo "

"; PHP Output:

List of Colleges

  1. Nizwa College
  2. Ibra College
  3. Salalah College

Example 3b: Processing the data token attached with the URL: (3) (b) PHP code for links 3Process.php (process page) to process data token attached with the URL. The WB output should be as follows: Assume that the user clicked on the link Ibra College and he did NOT change data token values. Thank you. Data Token is: ICT College Name is Ibra College Second Data Token has 12 characters 1. $colleges=['NCT'=>'Nizwa College', 'SCT'=>'Salalah College','ICT'=>' Ibra College']; 2. echo "Thank you. Data Token is {$_GET['cc']} "; 3. echo "College Name is { $colleges ($_GET['cc']]} "; 4. $colgn = $colleges [$_GET['cc']); echo "Second data token has:". strlen($colgn). " characters

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!