Home automation project

Kong:
Wat's exactly the problem?
I assume you've connected the relays to an output pin of your webserver (which you control by a webbrowser).
Now you've connected a pushbutton to your webserver, also to control the relays.
In that case you still know the position of the relay (i.e. the status of the output pin).

what i mean is if i use my pushbuttons, theres nothing happening to my browser.. what i want to happen is that if i use my pushbuttons the state of relays that are displayed on my browser will also change.. but unfortunately i dont know the codes etc..