The query result of the ThinkPHP database is displayed in the form. the table in the database is a personal information table with a gender field. after ThinkPHP is used to retrieve data from the database, how can we change the data in the form based on the result? & lt; input & nbsp; type & nbsp ;=& nbsp; "radio" & nbsp; name & nbsp ;=& nbsp; "sex" & nbsp; value & nb ThinkPHP database query results are displayed in the form
The table in the database is a personal information table with a gender field. after retrieving data from the database using ThinkPHP, how can I change the data in the table based on the result?
Male
Female
Which single queue is selected?
------ Solution --------------------
Assume that the value you get is $ sex,
/> Male
/> Female
------ Solution --------------------
Male
------ Solution --------------------
Male
Female