Posts by Andre Felipe Azevedo • 11 points
2 posts
-
1
votes2
answers436
viewsA: Receiving HTTP POST Json with PHP MYSQL PDO
To try to clarify what @rcs answered: Without the second parameter json_decode($json_str): $json_str = '{"type":"info-type","clientId":"info-client","sku":"info-sku","quantity":"info-quantity"}';…
-
0
votes1
answer40
viewsA: Data change problem in the database
It may be that it is not entering the if, because the $_POST['send'] is not set. Put on an Else, make sure it’s coming in and doing nothing. Another thing, force the presentation of errors with:…