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>

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

thanks it is working

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.