0
Hello. I have a question :/
I’m making an anime site, with posting and etc, at first I thought I could do everything in javascript, however, now I had to use php to access the Database and etc.
Problem I have a button that when it is clicked should perform an action in php (Change value in Database).
Note. I started using PHP 3 days ago, be patient with me.
Thank you =D
Already have some code in Javascript? You know what ajax is?
– Sergio
No, I’ve heard of AJAX, but I can’t program. But if I have to, I can learn.
– Pedro Ivo
Check it out:http://answall.com/q/116153/129
– Sergio
Háááááá, I have used AJAX without knowing it. I must use ajax to open php pages inside the home page and execute what I need?
– Pedro Ivo
You have to use ajax to send and receive data from the server. You know how to activate ajax (and pass any values) when the button is clicked?
– Sergio
I activate ajax with url meusite.com/acao.php? test=teste2 and put the code to be executed using: $_REQUEST correct?
– Pedro Ivo