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 is the correct php command to use to catch any error messages within the code?
List out some tools through which we can draw E-R diagrams for mysql?
How we can declare variable in php?
Is php coding easy?
Why php is sometimes called as embedded scripting language?
What is the value for this auto incremented field user_pri_id?
m new to xampp i want to configure file server in xampp... is it possible ??? if so help me....
I am trying to assign a variable the value of 0123, but it keeps coming up with a different number, what is the problem?
What does the function get_magic_quotes_gpc() means?
What is the difference between require and include in php?
What is the diffrence between GET,POST and REQUEST Method.
How to make a file encrypt and decrypt?