A "required field is missing" error occurred when registering. This was on a Php Mysql login registration form.
P粉538462187
P粉538462187 2023-08-17 16:02:11
0
1
409
<p>I developed a login system but it tells me that some fields are missing even though I have created them in Sql</p> <pre class="brush:php;toolbar:false;">CREATE TABLE IF NOT EXISTS `users` ( `id` int(11) NOT NULL AUTO_INCREMENT, `username` varchar(50) NOT NULL, `email` varchar(50) NOT NULL, `password` varchar(50) NOT NULL, `create_datetime` datetime NOT NULL, PRIMARY KEY (`id`) );</pre> <p><br /></p>
P粉538462187
P粉538462187

reply all(1)
P粉043566314

I think you need to provide more details about the error, without other information my best guess is that you are not mapping the information from the form when you try to save them to the database, since the fields are required , so this error message appears.

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!