Answer the question
In order to leave comments, you need to log in
How to fix a broken string in Sql?
RedBeanPHP is a library that simplifies the work with the database. It generates the tables itself on the first request, everything works fine, but it simply refuses to enter the first value of login_1, and every row in this place has a NULL parameter. I eliminate the error in the code, as the login_2 field is completely identical (similarity is guaranteed Ctrl c/v)
Answer the question
In order to leave comments, you need to log in
So maybe it's worth showing the structure of the table. Maybe it's null by default?
And the fact that you did Ctrl c / v does not guarantee the correctness of the incoming data. Maybe your login_1 null field comes initially. And so this is a problem.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question