The best approach is to start using prepared, parameterized queries. They ensure that comparisons are done correctly, and they prevent the possibility of SQL injection attacks.
Your code would be rewritten like this:
That is, I am assuming that your database field
Data_deschiderii is of a date form of datatype. |
0 comments:
Post a Comment
Note: only a member of this blog may post a comment.