I am trying to adjust the quantity of an item when a user enters the quantity and click on Update but I am having a problem getting it to work. When you end the quantity and
i don't see any
session_start();
In your PHP code, if you want to work with the session of the user, you must include session_start();
in the beginning of your php file.
That includes ajax files.
If you make an ajax call from a php page that has session_start, that DOES NOT MEAN that the ajax script will be "in session". You MUST include session_start();
in the ajax script.