简体   繁体   中英

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

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

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

This will make the field readonly for your users.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM