change varchar to checkbox in view

Alles, was MariaDB und MySQL betrifft, kann hier besprochen werden.

change varchar to checkbox in view

Postby georgec » 31. July 2019 19:16

I have a table with a character type field labeled 'tags' Users could enter in IT, ops or comp as values but validation became an issue. How can I convert or update this data to a checkbox value?
georgec
 
Posts: 12
Joined: 29. January 2009 22:38
Operating System: Windows 7 Pro 64b

Re: change varchar to checkbox in view

Postby Nobbie » 31. July 2019 22:44

See https://www.w3schools.com/tags/att_inpu ... eckbox.asp about checkboxes and values, then simply assign checked value after validating the "tags" column. Thats a very very basic PHP knowledge.
Nobbie
 
Posts: 13175
Joined: 09. March 2008 13:04


Return to MariaDB - MySQL

Who is online

Users browsing this forum: No registered users and 15 guests