+ 1

Why wont this code work!??

it's in mysql do I need to use mysqli? https://code.sololearn.com/w38eiJz5Esqr/?ref=app

31st Dec 2017, 10:13 PM
Keeva McGhee
Keeva McGhee - avatar
11 Respostas
+ 2
thanks you have been a great help!!!!
31st Dec 2017, 10:48 PM
Keeva McGhee
Keeva McGhee - avatar
+ 2
now I'm getting this message //// / Fatal error: Uncaught Error: Call to a member function query() on null in /home1/upscalf7/public_html/ucmemp/wp-content/themes/twentysixteen/login/login.php:13 Stack trace: #0 {main} thrown in /home1/upscalf7/public_html/ucmemp/wp-content/themes/twentysixteen/login/login.php on line 13
1st Jan 2018, 6:06 PM
Keeva McGhee
Keeva McGhee - avatar
+ 1
what error are you getting??
31st Dec 2017, 10:29 PM
Мг. Кнап🌠
Мг. Кнап🌠 - avatar
+ 1
remove comma after Select *
31st Dec 2017, 10:34 PM
Мг. Кнап🌠
Мг. Кнап🌠 - avatar
+ 1
it is ok.. but u need to make a bit changes as per taking care of errors.. and encrypting the password and then comparing the username and password as well..
31st Dec 2017, 10:41 PM
Мг. Кнап🌠
Мг. Кнап🌠 - avatar
+ 1
you can use SHA or md5 both encryption are good.. and to make your content stylish and responsive with less codes then only use Bootstrap
31st Dec 2017, 10:47 PM
Мг. Кнап🌠
Мг. Кнап🌠 - avatar
+ 1
no don't use JavaScript for server side works.. it's okk to continue with php
31st Dec 2017, 10:48 PM
Мг. Кнап🌠
Мг. Кнап🌠 - avatar
0
Parse error: syntax error, unexpected ',' in /home1/upscalf7/public_html/ucmemp/wp-content/themes/twentysixteen/login/login.php on line 13
31st Dec 2017, 10:31 PM
Keeva McGhee
Keeva McGhee - avatar
0
IT WORKS YOU ARE A GENIUS THANKS!!! however lol does it look correct in aspect of the person being able to log into their own page?? smh sorry I know nothing lol?
31st Dec 2017, 10:39 PM
Keeva McGhee
Keeva McGhee - avatar
0
yes I know about protecting it however when I come across errors then I'm stuck should I use protection like splashes or md5 OR would you have use bootstrap or is for something like this I am trying to learn as practical as I can
31st Dec 2017, 10:45 PM
Keeva McGhee
Keeva McGhee - avatar
0
I meant to say JS for the login
31st Dec 2017, 10:47 PM
Keeva McGhee
Keeva McGhee - avatar