Posts by Elisa • 3 points
1 post
-
0
votes1
answer336
viewsQ: How to put an echo json_encode passing a PHP function with javascript parameter?
My question is this:: I have a php class that has a function that searches for an array of data and I put an echo json_encode that will then make the autocomplete work. as follows: <script>…