Question: (PHP) I NEED TO MODIFY THE CODE BELOW so that it creates a webpage that contains my birthday dates from my birth to my birthday

(PHP)

I NEED TO MODIFY THE CODE BELOW so that it creates a webpage that contains my birthday dates from my birth to my birthday this year and what the corresponding day of the week was for each date.

(my birthday is 3/23/1997)

#!/usr/local/bin/php

'; ?>

/p>

"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

Title

date_default_timezone_set('America/Los_Angeles');

$year = 1997;

$ts = mktime(0,0,0,1,1,$year);

for($day = 1; $day

{

echo date('n/j/Y', $ts), "was a ", date('l', $ts), "
";

$ts += 24*3600;

}

?>

src="http://www.w3.org/Icons/valid-xhtml10" alt="student submitted image, transcription available below" height="31" width="88" />

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!