I see. I asked cause someone said that in a comment on php manual. Then i need to check each row for displaying the fields names only for not empy rows. But i dont know how to do that ....guess it's my problem. Thanks anyway.
PS: please read the "incomplet result" post,maybe you can give me a hint, i see lots of people read it but nobody has given me any hint yet. I think i'm running in circle.