skip to Main Content

Ajax post returns empty array – Jquery ajax

I have a very simple php page with a jquery function <script type="text/javascript"> $(document).ready(function() { $.ajax({ url: "test.php", type: "POST", data: { myvar: 1, }, success: function(result) { console.log("it works"); } }); }); </script> My AJAX function is supposed to…

VIEW QUESTION

PHP Ajax not responding – Jquery ajax

In the username availability check I created two pages: register.php and registercontrol.php controlling it. I check the database connection its on work. Everything (all statements, insertin data into db) that was previously created on a single php page. But when…

VIEW QUESTION
Back To Top
Search