Skip to content

Tag: php

PHP – Click button to show array

I pretty new at PHP (also my first question here). I have created a button, when you click on it I want the values in an array to show up on the page. (And would also like the values to show up …

How to use AJAX to POST to PHP?

As I asked here I would like to know how I could pass the data from a simple JS function to php, and log it there. I found this answer and tried to follow it. This is my code right now (both in the …