Skip to content

Tag: button

Add a call to PHP in a jQuery button with Ajax

I tried to modify the behaviour of the Save button in my DokuWiki (see my post on their forum without answer yet). I want to call a specific file.php when the user hits the Save Button, i.e. every time there is an edit in the wiki. The PHP file recalculates all the connections in the Wiki and creates a new

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 …

html php query without URL update

Is it possible to submit a query without updating the URL? On a dictionary, I want to do first one simple query: www.example.com/?q=word On the result page there will be a button with which I want …

Send value of submit button when form gets posted

I have a list of names and some buttons with product names. When one of the buttons is clicked the information of the list is sent to a PHP script, but I can’t hit the submit button to send its value. How is it done? I boiled my code down to the following: The sending page: The receiving page: buy.php