without form!?????
so... make a request?
How will he request be made without Ajax, i wanna use pure php to track button click
Php is for the back, so you can't control how you send data with it (because that is in the front), you can use JS to send data to your php back without using a form.
you have to make a sort of "redirector" php script that record the click and send to the desired link
😔😔😔😔😔 so AJAX REQUEST MST BE USED!???
Transfering data through links!?
explain better what you want to achieve
I want to track button click, let say i want to retrieve data from the data base on click, but i wanna use pure php and nothing else
Are you Samuel Miller? 😂
don't know who he is 😃
He is famous php developer from youtube
what do you mean with button? an anchor link? a button? a submit?
A normal html button, <button></button> I want to fetch data from the database onclick, when a user clicks the button then data from the database is shown
so javascript and ajax
Honestly you already know every time someone push a submit button of a form that point to your php script 😊 you are already respond to that request. Just log every time your backend respont to that form.
Обсуждают сегодня