Posts by Krynble • 156 points
2 posts
-
1
votes2
answers49
viewsA: Date passed as NULL to the database
Probably the prepare is doing the "escape" of the string you sent. With this, I believe the database is receiving the query as follows: INSERT INTO pagamento(fk_1, fk_2, fk_3, fk_4, fk_5, preco,…
-
3
votes2
answers48
viewsA: Optimization doubt
I will try to supplement a little the other answer. Yes, you may end up impairing performance, but it is worth taking into consideration the type of page/app you are creating. If it is a simple page…