how to get the value in script values
Answer / 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 |
What are php magic methods/functions?
Is wordpress a php framework?
What is explode() in php?
Explain some of the php array functions?
What is default session time in php?
What is the difference between indexed and associative array?
Write a program using while loop?
What is the meaning of symbol '$' in jquery?
hi, i have knowledge about PHP/MYSQL,i am fresher M.Sc-IT 2009 pass out,any recruitment in PHP please let me know.
How do you end php?
how to detect a mobile device using php
What does sign mean php?