Gudeve. sorry for posting again. i was making a simple quiz machine with PHP and a bit of database,
i made this code.
<form action="record.php" method="POST">
<tr>
<td><b>Your score is: </b> <br /><input type="text" disabled="disabled" name="score" value="$total"></td>
</tr>
<tr>
<td><b>Date: </b> <br /><input type="text" name="date"></td>
<td><b>Student Id: </b> <br /><input type="text" name="stud"></td>
<td><b>First Name: </b><br /><input type="text" name="fname"> <br /></td>
<td> <b>Last Name:</b><br /><input type="text" name="lname"></td></tr>
<td><input type="submit" value="Submit Details"></td>
</form>
so basically. the score textbox is disabled so that the user cannot change the score. xD
if works fine recording it in my database but the disabled text didn't appear on the database. instead of, for example 6. there's nothing, the row is empty.
is there any way to make that score record on my database using the disabled textbox?. thankyou very much. :)