isidor2706 Posted May 24, 2020 Share Posted May 24, 2020 I want to store the following string: "123<456" in a MySQL-Database using PHP, but when I try so, the "&" is interpreted as bitwise AND-Operator and the result is "579". What I should do to store the original string? Link to comment Share on other sites More sharing options...
Ingolme Posted May 27, 2020 Share Posted May 27, 2020 What does your code look like? There is no way the "&" could be interpreted as an operator if it is inside a string unless you have a severe security vulnerability in your code. Link to comment Share on other sites More sharing options...
isidor2706 Posted May 27, 2020 Author Share Posted May 27, 2020 Thank you for your answer. Sorry, I have found an error in my code. Now it works right. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now