PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
Yes, this is the problem... it doesn't return anything. Maybe you can try the code on your data base if you can...
The thing is that if I remove the whole while cycle, the page displays like a rss page (without data of course) maybe inside the while there is a problem...
Most of the time when you get a blank page it means there's a syntax error. You'd see an error message if PHP was configured to show them. Which is why it's always a good idea to turn up error_reporting and to enable the display_errors INI settings on production servers. Which is where you should be developing.
As for the error: the echo statement in the loop is missing the semicolon.