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 |
How to replace a substring in a given string?
How many types of session are there?
How to execute an sql query? How to fetch its result?
How about integrating an iKode Newsletter Server at my independent Wordpress blog site? I just wanna visitort can subscribe my blog when they like it and I can send some interested articles or events to them regularly to establish good relationship.
What is php and what does it do?
Is it possible to extend the execution time of a php script?
Why php is better?
Explain how is it possible to set an infinite execution time for php script?
How to install PHP with --mcrypt and --mhash?
Explain me what is the difference between explode() and split() functions?
how to install openssl, ISAPI, pdf modules in php 5.2.5 with apache on windows xp.
What do you mean range() in php?