1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
dybincka [34]
2 years ago
5

Create a page using PHP for a business website that will ask the user to enter his or her name into text boxes and will display

a welcome message that uses the user’s name.

Computers and Technology
1 answer:
Jet001 [13]2 years ago
4 0

Answer:

1         <?php

2            if (isset($_GET["submit"])) {

3                 echo "Welcome " . $_GET["name"];

4                }  

5         ?>

6

7

8         <form method="get">  

9            <input name="name" type="text" placeholder="Enter your name"/>

10           <button name="submit" type="submit">Submit</button>

11          </form>  

12

13         <?php

14          ?>

<h2>Explanation:</h2>

Lines 1 - 5    check if the user has clicked on the submit button.

                    If the button has been clicked the a welcome message is    

                    shown.

Lines 8 - 11   create a form to hold the text box and the submit button

                    Give the form a <em>method</em> attribute of value <em>get        [Line 8]</em>

<em>                     </em>Give the input field a <em>name</em> attribute of value <em>name </em>and a

                    placeholder attribute of value <em>Enter your name      [Line 9]</em>

<em>                     </em>Give the button a <em>name </em>attribute of value <em>submit</em> and a <em>type</em>

                    attribute of value <em>submit</em>                                            <em>[Line 10]</em>

<em />

<em />

<em />

<em />

PS: Save the file as a .php file and run it on your server. Be sure to remove the line numbers before saving. A sample web page is attached to this response.

You might be interested in
Maia is typing her report on meerkats for her biology class.
dem82 [27]

Answer:

         

Explanation:

4 0
2 years ago
Assume a computer uses pipelining of 9 stages. Each stage demands 3 clock cycles to finish its task. How many clock cycles are n
serg [7]

Answer:

Explanation:

b) Each stage requires one clock cycle; ... Calculate how many clock cycles will take execution of this segment on the regular (non- pipelined) ... Instruction. Clock cycle number . 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 ... It is possible ... It means that all stages of 5-stage pipeline are always busy (no stalls) during the task.

8 0
2 years ago
What is a URL (Please explain)?
GalinKa [24]
Definition

URL a.k.a uniform resource locater, is simply the address of a World Wide Webpage.

Sentence example:

"Type a URL into a browser's address bar."
5 0
3 years ago
Sets of rules that a computer uses to solve problems?
jonny [76]

Protocal

I need to make this 20 charaters so ye

8 0
3 years ago
Read 2 more answers
A business has recently deployed laptops to all sales employees. The laptops will be used primarily from home offices and while
lys-0071 [83]

C. OS hardening.

Making an operating system more secure. It often requires numerous actions such as configuring system and network components properly, deleting unused files and applying the latest patches.

The purpose of system hardening is to eliminate as many security risks as possible. This is typically done by removing all non-essential software programs and utilities from the computer.

5 0
3 years ago
Other questions:
  • What is the formula for calculating the average of cells<br> C2 through C30?
    15·1 answer
  • Changes in computer technology have an effect on _____.
    13·1 answer
  • WHAT SO THESE THINGS THAT I'VE HIGHLIGHTED MEAN IN MICROSOFT WORD?
    12·1 answer
  • Your desktop, internet explorer, and the media player can be started from this area on most computers
    9·1 answer
  • PMI is a: computer program used to help managers write mission statements. rule of thumb used to determine how many employees sh
    15·1 answer
  • Help!! Best answer will get Brainliest!!
    10·2 answers
  • How do I go to files in Brainly I need help
    13·1 answer
  • Paisa pay is facilitated in which e commerce website​
    15·1 answer
  • WRITE A PROGRAM TO CALCULATE SIMPLE INTEREST
    12·1 answer
  • Which describes the Paradox of Automation?
    5·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!