# PHP server query

**URL:** <https://forum.kirupa.com/t/php-server-query/242298>\
**Category:** flash\
**Created:** [October 24, 2007, 3:37pm UTC](https://forum.kirupa.com/t/php-server-query/242298 "2007-10-24T15:37:57Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![chaztheman](https://avatars.discourse-cdn.com/v4/letter/c/eb9ed0/32.png) [@chaztheman](https://forum.kirupa.com/u/chaztheman)\
**Post date:** [October 24, 2007, 3:37pm UTC](https://forum.kirupa.com/t/php-server-query/242298/1 "2007-10-24T15:37:57Z")

</div>

Hi! tricky one here!

This php server query is already set up and working:

[http://www.thenemesisclan.com/query/query.php](http://www.thenemesisclan.com/query/query.php)

I would like to have a dynamic text box change to online when the [error] = 1 and then change to offline when [error] = 0.

How would i go about doing this - many thanks!!!
