Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Create the following form And then write the following PHP code a Amazon.com: Online Shop. ) If Statement xIf Statement ft 0 E e fil:///C/YourDeputy
Create the following form
And then write the following PHP code
a Amazon.com: Online Shop." ) If Statement xIf Statement ft 0 E e fil:///C/YourDeputy Demos F-state ment.html |C ||Q.thern california edison -d | The IF Statement First Name: Birth Year: Submit Information DW File Edit View Insert Modify Format Commands Site Window Help& IF statement.html X IF statement php x Source Code basic.css | Code | Spit ! Design Lrve q,, se. Dg C Coder C: Tite: If Statement Dynamically related fles cannot not be dscovered because there is no site definition for this document. Setup
The IF Statement
12 13 14 15 16 17 18 19 20 21 K?php $firstname = $_POST [' firstname']; birthyear-_POST ['birthyear'; current_year-date ('Y age current_year-Sbirthyear; print "Your name is firstname and you are age years old
"; if (age> 50) s2 23 2 4 25 26 27 28 29 30 31 32 print"Better start planning for Retirement!
" if (firstname'Steve') print "Especially you Steve!
; else [ print "
Keep Working!
"; 3 4 35 36 print "END-
"; ?S 1K /1 sec Unicode (UTF-8)Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started