卢小强2019-10-14 09:35:31
I would like to ask what is where(array('username')=>$username)). Can arrays be used as conditions when querying the database? $admin['username']. Can't you directly compare the data in the form with the database? If you need to verify the format of the submitted data, you can use the vaildate method