Click here to Skip to main content
15,891,905 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
let me know how to solve this error

What I have tried:
Posted
Updated 7-Apr-21 23:49pm
Comments
Richard MacCutchan 8-Apr-21 6:05am    
fix the code on line 11.

1 solution

Simple: don't use string concatenation to build SQL queries. It can an will leave you vulnerable to SQL Injection[^].

PHP: SQL Injection - Manual[^]

Beyond that, if you want anyone to help you fix your code, you need to show the relevant parts of your code. Which you haven't done. So nobody can help you.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900