Again please find my code ( repository ) here :
https://github.com/ValComputers/PCAMERICA-ONLINE
The issue I am trying to figure out is my database has 2 tables ( with multiple rows of data / depending on the Item ) I am trying to get the queried data into 2 separate arrays first one being AltSKU and the other being TagAlong. So what I am trying to accomplish is getting each set into an Array so AltSKU(1), AltSKU(2), etc etc ( depending on the items amount of skus ) and the same for tagAlong(1), TagAlong(2), etc etc and have them displayed in their separate text areas ( in the Index9.php file ) I had them working previously but when I switched over to AJAX ( Json ) data calls they stopped working. Please see both photos the first being the original version ( before ajax ) that was working how I wanted it to work and the second being the new ( Ajax ) version that does not do so. I also need to be able to click Add to add a new item to the arrays or delete to remove a highlighted item from the arrays.
original version ( with working fields )
New ( ajax ) version with NON working fields
I have spent many hrs trying to figure this out but can not seem to get them working properly. Any help would be appreciated
Thank You All