I am in the process of my website development and I'm a little stuck.
I am trying to send a HTML form, without having the page refreshed.
Here's some code where I can explain what my situation is:
That is the HTML code I have for my button, which has the following effect when clicked:<Form Name='clickform' Method ='POST'>
Now what i'm after is that I want the PHP code to be executed when the button is pressed.<?php
echo "button1 has been pressed.<br>";
It's working perfectly as long as the page is refreshed when the button is clicked, however I need the PHP code to be executed without a page refresh.