Skip to content

Tag: javascript

PHP/SQL Dynamic menu depending on different tables

I’m trying to manage a dynamic menu based on results from tables in my database. Code below is so far i have come.. But i can’t get it to display as i want to. i have 3 tables in my database looking like this. ws_categories id maincat (name of main-category) ws_subcategories id subcat (Name of sub…

Ordered list with random numbers between 1 and 49

I have some problems to Code an simple PHP ordered list that print out a random number list between 1 and 49. The Main Code Here the external PHP Code to randomize the numbers And here the Java script T Now my question…how i can let Show the numbers in a ordered list? Answer Extending Kool-Mind’s …

No response from PHP on AJAX request

I am working on a simple signup page using jQuery and PHP using AJAX. Here is the script for making the ajax call: and the PHP script which responds to the call: signup.php: using PDO. dbconnect.php: Problem Neither of the two responses are being returned to the jQuery ajax call. I checked with console.log() …