Answer Posted / p.sivasankar
ex:in java script
function DLEAVEValidate()
{
alert(window.document.getElementById("V_DLEAVE").value);
}
in php:
<form action="welcome.php" method="get">
Name: <input type="text" name="name" />
Age: <input type="text" name="age" />
<input type="submit" />
</form>
Welcome <?php echo $_GET["name"]; ?>.<br />
You are <?php echo $_GET["age"]; ?> years old!
(or)
Welcome <?php echo $_REQUEST["name"]; ?>.<br />
You are <?php echo $_REQUEST["age"]; ?> years old!
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
What is a php certification?
How can I load data from a text file into a table?
Which cryptographic extension provide generation and verification of digital signatures?
Where is session value stored?
Which is better python or php?
write a note on Testing the web site
What are different types of Print Functions available in PHP?
What is the difference between for and foreach loop in php?
Why do we need abstract class in php?
What is sticky form in php?
Which programming language does php resemble?
What are the differences between echo and print?
What is mysqli_real_escape_string?
What is php routing?
Can you convert php to html?