Menu
hi have a problem here,can anyone tell me how can i post the value of a button?
here’s a sample:
[code=html]
<body>
<form method=”POST” action=”2ndpage.php”>
<input type=”button” value=”THIS IS THE VALUE I WANT TO GET” name=”MyBUTTON”>This button calls a javascript that changes its VALUE
<input type=”submit” value=”SEND MyBUTTON VALUES”>
</form>
</body>
[code=php]
Here in the 2ndpage.php i want something like this
<?
echo $_POST[‘MyBUTTON’];
?>
That’s i want to do,if it’s not possible is there a workaround for it?tnx in advance..