tee
tee

Reputation: 155

php mysql form input type

I want a table that can submit value I try with form

my problem is text is editable I look for input type that can only read but can not edit I want a table that only some column can edit then can send what should i do

Upvotes: 0

Views: 229

Answers (1)

scunliffe
scunliffe

Reputation: 63578

If you are just looking for a read-only form field in HTML (e.g. in your PHP file) use this:

<input type="text" readonly="readonly"/>
                   ^^^^^^^^^^^^^^^^^^^

This will make the field readonly for your users.

Upvotes: 1

Related Questions