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 the use of session and cookies in php?
Which function would you use to replace a record in a database in php?
What is faster?
Can we run php in apache tomcat?
Why php script is not running in browser?
What is final class and final method in php?
What are the different data types in javascript?
What is php and what does it do?
How can you retrieve data from the mysql database using php?
Tell me what is mean by an associative array?
Explain about objects in PHP?
What does csrf token mismatch mean?
What language is php based on?
What is php trait?
Explain the types of functions for Splitting String?