This question is for you PHP coders out there ...
I currently have this in my script:
I am trying to send all the room's and their information to the client, and display it in the navigator.
However, it only returns 1 room (theres 3 in the database).
Any help would be greatly appreciated
Thanks,
Adonn
I currently have this in my script:
PHP:
for($flat=1;$flat==getFlatCount();$flat++)
{
$rooms = $rooms . $flat ."/". getRoomName($flat) ."/" . getRoomOwner($flat) ."/". getRoomDoor($flat) ."/ekakerros/floor1/". $serverIP ."/". $serverIP ."/". $serverPort ."/0/null/". getRoomDescription($flat) . chr(13);
}
sendData($i,"BUSY_FLAT_RESULTS ". chr(13) . $rooms);
I am trying to send all the room's and their information to the client, and display it in the navigator.
However, it only returns 1 room (theres 3 in the database).
Any help would be greatly appreciated
Thanks,
Adonn