Hi,
What happens? You type something in a text field, and based on the input, you should get some suggestions. Now, the problem is that I can get the info out of my database with PHP, but now I need to be able to use the PHP array in javascript. So I guess that needs to be done with ajax, but I don't know how I should do that.
The part with the XMLhttp request isn't the problem. The problem is that I don't know how to make my function to transport my PHP array to javascript. Can anyone help me out, or send me in the right direction?
My php array is like $gemeente = ("aalbeke", "aalter", "aalst","aarschot");
Any ideas?