Jump to content

[SOLVED] Secure mySQL queries


Leppy

Recommended Posts

Hello,

 

I would like to know if there is any functions I should use on every data entered by a user before making my SQL query to make it secure so the user cannot try to mess with the database? I usually do addslashes sometimes but is there a function that I could use on every variable that I will use in my SQL query that would make it secure in everyway?

 

Basically what I'm asking is what is the best secure way of making mySQL queries.

 

Thank you!

Link to comment
https://forums.phpfreaks.com/topic/58807-solved-secure-mysql-queries/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.