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 |
Why namespace is used in php?
Is there any function to find repeated value in an array? What is w2 standard
how to set session expire(session timeout) using php code
Tell me how is it possible to propagate a session id?
What is the difference between single-quoted and double-quoted strings in php?
How to check a variable is an array or not in php?
How to find datatype of variable in php?
How to access a specific character in a string using php?
What does $this do in php?
Which is better php or nodejs?
How long is session timeout?
hi here one small project given to me in an software company during interview. one page that would count down till 9pm (today means every day before 9pm it would count down to zero) this means there will show how many mins. sec. and hours are left till 9pm so it would be like 1 hr 20 mins 23 sec. then it up count down every sec and then show 1hr 20mins 22sec left till 9pm once the count down reaches zero it would show a flesh player video will autostart. the flash player will be from http://www.longtailvideo.com/players/jw-flv-player/ (the player is embed into the page.) that same page will track to see if they have already seen the video using php sessions then if they go back to that page it would redirect them to a new page saying that they have already wathed the video.