Course Solutions Uncategorized (Solved) : Attempting Use Json Ajax Make Dynamic Web Page Loads Data Php Script Edited Little Possibl Q34187471 . . . .

(Solved) : Attempting Use Json Ajax Make Dynamic Web Page Loads Data Php Script Edited Little Possibl Q34187471 . . . .

 

I am attempting to use JSON and AJAX to make a dynamic web pagewhich loads data from a php script which should be edited as littleas possible

However when attempting to load the information, the scriptprints:

Fatal error: Call to undefined methodmysqli_result::fetchObject() in/home/unn_w16011531/public_html/getOffers.php online 30

Script file:

var htmlOfferDiv = document.getElementById(“offers”);var btn = document.getElementById(“getHTMLOffers”);btn.addEventListener(“click”, function() { var htmlOffer = new XMLHttpRequest(); htmlOffer.open(‘GET’, ‘getOffers.php’); htmlOffer.onload = function () { var offerData = htmlOffer.responseText; renderHTML(offerData); }; htmlOffer.send();});

OR

PayPal Gateway not configured

OR

PayPal Gateway not configured

Leave a Reply

Your email address will not be published. Required fields are marked *

Related Post