3
Good afternoon guys!! I’m new to everything in the programming universe, but I’m venturing into Rduino, php and html!! I would like to know how to pass two values in a single html button. Type when once clicking call a file . php and light the bulb and while clicking again call another file. php and delete the bulb. Someone could help me???
Follow php code to light bulb :
$port = fopen("COM1", "w");
fwrite($port, "1");
header ("Location:../index.html");
fclose($port);
From now on I thank you all!!
No response helped, @Brunocosta?
– Marcelo de Andrade