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 does == mean in php?
What is the difference between client-side and server-side programming?
Is php fully object oriented?
How do I repair phpmyadmin?
Explain me what is the w3c?
Write a program to find the factorial of a number in php?
Which parts of php are case sensitive?
What should we do to be able to export data into an excel file?
is that "enumerated array" equal to "numeric array"?
Explain the casts allowed in PHP?
What are php parameters?
Explain how you can update memcached when you make changes to php?
What is the use of print_r function in php?
What's the output of the ucwords function in this example?
What is apache and php?