Quantcast

A community for students. Sign up today!

Here's the question you clicked on:

55 members online
  • 0 replying
  • 0 viewing

annas

  • 2 years ago

@Eyad look at this php program i made:

  • This Question is Closed
  1. annas
    • 2 years ago
    Best Response
    You've already chosen the best response.
    Medals 1

    //program1 <?php $name = $_GET['name']; $age = $_GET['age']; if($age = '18') { echo'Hello to the website '.$name.', you are allowed to use this website.'; } else { echo'Hello to the website '.$name.', you are not allowed to use this website.'; } ?>

  2. Eyad
    • 2 years ago
    Best Response
    You've already chosen the best response.
    Medals 0

    Lemme Check it

  3. annas
    • 2 years ago
    Best Response
    You've already chosen the best response.
    Medals 1

    //html program it will direct the execution to program1 <html> <body> <form action="get.php" method="get"> <b> Enter your name: </b> <input type="text" name="name"> <br> <b> Enter your age: </b> <input type="text" name="age"> <input type="submit"> </form> </body> </html>

  4. annas
    • 2 years ago
    Best Response
    You've already chosen the best response.
    Medals 1

    save program1 as get.php and 2nd by site.php

  5. Eyad
    • 2 years ago
    Best Response
    You've already chosen the best response.
    Medals 0

    ok

  6. annas
    • 2 years ago
    Best Response
    You've already chosen the best response.
    Medals 1

    @Diyadiya

  7. Not the answer you are looking for?
    Search for more explanations.

    • Attachments:

Ask your own question

Ask a Question
Find more explanations on OpenStudy

Your question is ready. Sign up for free to start getting answers.

spraguer (Moderator)
5 → View Detailed Profile

is replying to Can someone tell me what button the professor is hitting...

23

  • Teamwork 19 Teammate
  • Problem Solving 19 Hero
  • You have blocked this person.
  • ✔ You're a fan Checking fan status...

Thanks for being so helpful in mathematics. If you are getting quality help, make sure you spread the word about OpenStudy.

This is the testimonial you wrote.
You haven't written a testimonial for Owlfred.