My php won\'t update my products table. I know my GET request worked as I tested it with echo to display the id. I am confused as to how I can get it to work? I think it may be
There are two issues with your query...
You Have one extra comma before the Where Section and your missing delimeters on p_stock.
Should be: "p_stock = '" . $_POST["updateProductStock"] . "' " and . "WHERE id='" . $_GET['id'] . "'";
"p_stock = '" . $_POST["updateProductStock"] . "' "
. "WHERE id='" . $_GET['id'] . "'";