Dovresti fornire più informazioni: ad esempio il linguaggio server che stai usando, da dove leggi i dati e in che variabili sono contenuti.

Dovresti postare il sorgente completo