Write a program to get the name from a form and show greeting text message

Write a program to get the name from a form and show greeting text message

In this example code, We will get an input name from a form and display a greeting message with name to the user on output screen.

HTML Code(greet.html)

PHP Code (welcome.php)

Output:

html

 

PHP welcome program output

 

 

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top