skip to Main Content

Php versions – Fatal error: Cannot re-assign auto-global variable _GET

Fatal error: Cannot re-assign auto-global variable _GET in /home/blunest/public_html/portal/application/models/Pagination_model.php on line 62 The code on line 62 is public function paginationInfo ($_GET,$numFound=0,$rows=ROWS) { The complete function is public function paginationInfo ($_GET,$numFound=0,$rows=ROWS) { $a = ' '; $currentPage=getVal($_GET,'start',0); if ($currentPage) {…

VIEW QUESTION

How to get data from a JavaScript to controller and store it in the database – Phpmyadmin

I want to get the location from this JavaScript to the controller and store it in the database: var currPosition; navigator.geolocation.getCurrentPosition(function(position) { updatePosition(position); setInterval(function() { var lat = currPosition.coords.latitude; var lng = currPosition.coords.longitude; jQuery.ajax({ type: "POST", url: "myURL/location.php", data: 'x='…

VIEW QUESTION
Back To Top
Search