0

hi
i want to insert the textbox content to database....wen i give disabled="true" data is not getting inserted in database....when there is no disabled attribute it is getting inserted.....

<form name="fm3">
<table>
<tr>
<td>splendor Id</td><td><input type="text" name="id3" size="20" disabled="true" value=<?php print "$_SESSION[uname]";?>></td>
</tr>
<tr>
</table>
</form>

2
Contributors
2
Replies
3
Views
9 Years
Discussion Span
Last Post by kings
0

Dont disable it. make it readonly.
<input type="text" name="name" value="somevalue" readonly> .

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.