Search
 
SCRIPT & CODE EXAMPLE
 

PHP

check if the form is submitted php

<html>
<head>
<title>Test</title>
</head>
<body>

<form method="post">

Enter value1 :<input type="text" name="firstname"><br/>
Enter value2 :<input type="text" name="lastname"><br/>
<input type="submit" value="Submit" name="submit"><br/><br/>

<?php
if(isset($_POST["submit"]))
{
$firstname = $_POST['firstname'];
$lastname = $_POST['lastname'];
echo "Success";

}
?>

</form>
</body>
</html>
Comment

PREVIOUS NEXT
Code Example
Php :: how send parameter with command in laravel 
Php :: laravel load view in variable 
Php :: laravel api too many requests 
Php :: laravel login redirect to previous page 
Php :: how to get the list of available timezones in php 
Php :: php increment letter 
Php :: fetch body show in php code 
Php :: sustituir caracteres especiales php 
Php :: php closecursor 
Php :: php random name 
Php :: check if user has role twig 
Php :: how to display the responce of curl in php 
Php :: laravel sort by numbers 
Php :: how to redirect to another page from laravel blade 
Php :: previous month number in php 
Php :: optimize clear laravel not working 
Php :: delete image s3 laravel 
Php :: woocommerce check if user is logged in 
Php :: laravel api form request validation 404 
Php :: laravel loop counter 
Php :: php get highest key value 
Php :: how to replace multiple characters in a string in php 
Php :: pass parameter to view laravel 
Php :: php full day name 
Php :: get words after string in in php 
Php :: php counter 
Php :: laravel validator make custom message 
Php :: wordpress max post revision 
Php :: add hour minute in datetime in php 
Php :: yii2 postgresql connection 
ADD CONTENT
Topic
Content
Source link
Name
1+6 =