i want to use my web control arduino via internet
so i use my ethernet shield connect to my web to read data on or off to control my arduino
this is my control page when press on data in database is going on when press off data going off
and this is my page that show data in database i want to use arduino read data on this page to control my light on or off
One option is to have the Arduino act as a web server, and provide a web app that can be used to read and change the required switch state. If the state is meant to apply to the Arduino, it now has the information it needs.
Another option is to have a web server somewhere else that your user connects to to read and change the required switch state, and have the Arduino acting as a web client also connect to the web server to read the current required switch state.