Php | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 6

Php

how to create session with database mysql for login and make that website can't do SQL injection

10th Sep 2018, 12:01 AM
Aldiansyah Ramadlan
Aldiansyah Ramadlan - avatar
10 Answers
+ 4
Learn to use PDO
10th Sep 2018, 12:54 AM
Calviղ
Calviղ - avatar
+ 2
oke thank you, can you give me best link to learn it.
10th Sep 2018, 6:10 AM
Aldiansyah Ramadlan
Aldiansyah Ramadlan - avatar
+ 2
Sanitize the inputs with htmlspecialchars, htmlentities, and strip tags
29th Jan 2020, 7:25 PM
Luzzitto
+ 2
Connect to database with PDO
4th Jun 2021, 7:18 PM
Alireza Tahriri
Alireza Tahriri - avatar
+ 1
its easy
11th Sep 2018, 4:06 PM
Joshua Martin Fontanilla
Joshua Martin Fontanilla - avatar
+ 1
its good to see people ask this question because it gets over looked A LOT but it is so easy to fix
12th Sep 2018, 1:21 AM
Winston Summers
Winston Summers - avatar
+ 1
ok thank for your answer guys, it very helpful 😁
12th Sep 2018, 4:54 AM
Aldiansyah Ramadlan
Aldiansyah Ramadlan - avatar
+ 1
I think
23rd Dec 2019, 11:24 AM
Nichervan Essa Mahammad
Nichervan Essa Mahammad - avatar
+ 1
there answer i s not clear but without explined
23rd Dec 2019, 11:25 AM
Nichervan Essa Mahammad
Nichervan Essa Mahammad - avatar
+ 1
You should valid data with js and html and next step use statment sql
13th Apr 2020, 10:34 PM
hossein Soltanian
hossein Soltanian - avatar