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 difference between strstr() and stristr() in PHP?
Hi, I want to upload an image ito database and display image in a table in php how it is possible
how to change the div background color on every refresh..guys can u help me out.
What kind of things have you done on the social side?
Is age interval or ordinal data?
Name some of the functions in php.
What is inheritance in php?
What is exception handling in php?
How can we access the data sent through the url with the post method?
What language is php written in?
What’s the difference between md5(), crc32() and sha1() crypto on PHP? -
What is printf in php?