I am creating a site that requires a user to add tags to their forum. I have already implemented the form and button to add tags to an array, but I am wondering if there is a way in which:
when a user clicks on the “add tag” button again, it will add the new tag to the array even when the page refreshes…
you’ll probably want to use a database for what you’re trying to do. An array in a php script is short-lived, it only exists for the duration of that single request.