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 different between count() and sizeof() in php?
What is difference Between PHP 5 and 7?
How to delete file in php?
What is ci in php?
How to Retrieve a Cookie Value?
How to genrate report in wordpress cms
Why php is also called as scripting language?
Tell me how do I escape data before storing it into the database?
Tell me how to get the value of current session id?
What is the content of /etc directory?
Can php replace javascript?
What does isset() function?
What is php key?
What is the use of explode() function?
Why php is sometimes called as embedded scripting language?