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
How can you send email in php?
Why overriding is called runtime polymorphism?
What are the php functions?
Which software is used to run php programs?
What is the use of inner join in mysql?
Which variable declarations within a class is invalid in php?
How do I run a php file?
How to return ascii value of character in php?
What is php and what does it do?
What is the difference between html and php?
What are the two types of variables?
Is python better than php?
How to fix "headers already sent" error in php
Explain what is the difference between mysql_fetch_array() and mysql_fetch_assoc()?
What is the method to execute a php script from the command line?