Relative Content

Tag Archive for javascriptphpjqueryajax

Retrieving Variable Values with AJAX

I want to create a feature on a specific section of my custom template’s category page that allows users to sort the displayed cards in any order they prefer.

PHP receives no parameter via AJAX

I try to hand over a parameter, a String, that is determined by user input via Ajax to a PHP Programm, but the php does not receive the parameter I try to handover. Then Ajax should return a JSON

Cannot import php class into code blocks locating in php file which already use this class via ajax

I have a main content page (pages/maincontent.php) that uses a class (scripts/Database.php) to connect to a DB. Everything is working fine.
But also, I want to update the information by clicking on a button (pages/parts/roomline.php, js/scripts.js) using the file (pages/parts/updateInformation.php) which will represent this information and display it on the main page. But I get an error importing a database file and I have no idea why it occurs.

Cannot import php class into code blocks locating in php file which already use this class via ajax

I have a main content page (pages/maincontent.php) that uses a class (scripts/Database.php) to connect to a DB. Everything is working fine.
But also, I want to update the information by clicking on a button (pages/parts/roomline.php, js/scripts.js) using the file (pages/parts/updateInformation.php) which will represent this information and display it on the main page. But I get an error importing a database file and I have no idea why it occurs.