Search
 
SCRIPT & CODE EXAMPLE
 

C

fina students name by using html backend database

<html>
<h2>T4Tutorials.com</h2>
<h3>Form program</h3>
<p>show output student name and roll number</p>
</html>
<html>
<body>
<form method="post">
<p>Enter Name</p>
<input type="text" name="name" />
<p>Enter Roll number</p>
<input type="text" name="number" />
<input type="submit" name="submit" />
</form>
<?php
class student
{
    public $name= 'ali';
	public $rno=77;
}
$a = new student();
if(isset($_POST['submit'])){
$a->name=$_POST['name'];
$a->rno=$_POST['number'];
echo"Name of student= $a->name</h2><br>";
echo"Roll number of student= $a->rno</h2>";
}
?>
</body>
</html>
Comment

PREVIOUS NEXT
Code Example
C :: garbage collection and dangling reference 
C :: variadic macros in c 
C :: bullseye lxc network problem 
C :: what the value in array not initialized yet c 
C :: get multiple c 
C :: command line coursera 
C :: wait system call 
C :: maximum, minimum, mean, and median of the data set. in array c programming 
C :: using tables as arguments in c++/c 
C :: profile time bash script 
C :: opération bit à bit c 
C :: attiny pinout 
C :: how to write 2d array from bin file in c 
C :: are two matrcies identical 
C :: gcc comand for running hello.c 
C :: Typecast Operator in C language 
C :: compile opencv program 
C :: open cv 
Dart :: dart regex for email 
Dart :: python change type of elements in list 
Dart :: flutter switch color 
Dart :: hide keyboard flutter 
Dart :: constrainedbox flutter 
Dart :: image from internet flutter 
Dart :: dart string empty or null 
Dart :: flutter flip image 
Dart :: dart list to json 
Dart :: flutter check if platform is ios or andriod 
Dart :: dart convert int to string 
Dart :: StateError (Bad state: No element) 
ADD CONTENT
Topic
Content
Source link
Name
8+5 =