Aloha,
The following simple html script below has to fields that one of them is disabled, when I push the submit button it runs a PHP script.
HTML file:
<html>
<head>
<title>Untitled Document</title>
</head>
<body>
<form action="http://localhost/t1.php" method="GET">
<td valign="top"><input name="o" type="text" id="o" value="1" ></td>
<td valign="top"><input name="t" type="text" id="t" value="2" disabled> </td>
<input type="submit" name="Submit" value="Submit">
</body>
</html>
PHP script:
<?php
$o=$GET['o'];
$t=$GET['t'];
echo $o;
echo $t;
?>
The PHP script should “echo“ the content of the filed but since one of them is disabled I receive no output from it. How can I print their content?