(PHP code)I have a list box to display the array element. When I click on the "Remove all" button the elements are deleted from the list box (used javascript onclick event). But at the same time the elements should also get deleted from the array which is not happening in my case. How do I delete the array elements while removing the elements from the list box.
Thanks!!