How to make read only

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
oneyani
Forum Newbie
Posts: 10
Joined: Mon Aug 11, 2008 11:52 pm

How to make read only

Post by oneyani »

i want to know how to make for read only check button?
User avatar
lukewilkins
Forum Commoner
Posts: 55
Joined: Tue Aug 12, 2008 2:42 pm

Re: How to make read only

Post by lukewilkins »

By read-only check button, do you mean just a disabled check box?

Code: Select all

<input type="checkbox" disabled="true" name="option" value="test"/>
This is the PHP - Code area...
oneyani
Forum Newbie
Posts: 10
Joined: Mon Aug 11, 2008 11:52 pm

Re: How to make read only

Post by oneyani »

lukewilkins wrote:By read-only check button, do you mean just a disabled check box?

Code: Select all

<input type="checkbox" disabled="true" name="option" value="test"/>
This is the PHP - Code area...

ok..i get it!
thanx a lot..
:drunk:
User avatar
lukewilkins
Forum Commoner
Posts: 55
Joined: Tue Aug 12, 2008 2:42 pm

Re: How to make read only

Post by lukewilkins »

No problem. Glad it is working for you.

Just a note, this is a purely HTML question and should be kept in the Client Side forum: viewforum.php?f=13
Post Reply