skip to Main Content

UPDATE request for SQL fails on querying from PHP but works good on SQL command line – Phpmyadmin

I am developing a page for stock maintenance. I am encountering a bizarre issue. When I run the PHP through AJAX everything works fine except for the mysqli_query part. <?php include 'dbconnector.php'; $item_code = json_decode(filter_input(INPUT_POST,'icode')) or die('line1'); $item_count = json_decode(filter_input(INPUT_POST,'icount'))…

VIEW QUESTION
Back To Top
Search