User registration function problem
Jackie
Jackie 2019-10-03 19:10:18
0
1
1054

User registration cannot be executed. After clicking the registration button, the page refreshes without any prompt. When checking the console, during the process of submitting data, it is found that the register method reports an error. The code and error screenshot are as follows:

01.png02.png


Jackie
Jackie

reply all(1)
Jackie

After working on it for a long time, I finally found the problem. It turned out that the status field was not set to a default value when the data table was created. After setting the default value to 1, the data was added successfully

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!