Answered step by step
Verified Expert Solution
Link Copied!

Question

00
1 Approved Answer

This is the code I have for the Calender using php the problem i'm running into is that Jan 1970 always pops up at the

This is the code I have for the Calender using php the problem i'm running into is that Jan 1970 always pops up at the top of the calender instead of the actual date the user inputs can anyone help me figure out what i'm doing wrong?image text in transcribedimage text in transcribed

function CreateCalender (month, $day, $year)//month and the year are of numbers $d1 - mktime (0,0,0,$month,1,$year) $strdate("m", $d1)."/01" .date("Y", $d1); $di - strtotime ($str); echo "Calender for ".date("M lof Y", $d1)."
"; echo ""; echo "Su"; $startDay- date("w",$d1); echo "" for($i-0; $i "; $ndays date ("t",$dl); //total for ( $1-0; $".date("d", $d1). ""; else echo "" if (date("w", $d1)--6) echo ""; * required field Your name please Select the month of your birthday: Specify the date of your birthday Specify the year you were born January Submit Your birthday is: 04/15/1993 You are 26 years old There are 55 days until your upcoming birthday Calender for Jan of 1970 Su Mo Tu Wel Th Fr Sa 01 02 03 0405 06 07 08 09 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
MoTuWeThFrSa
".date("d",$d1)."

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access with AI-Powered Solutions

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

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

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

Get Started

Students also viewed these Databases questions

Question

Excel caculation on cascade mental health clinic

Answered: 1 week ago