Hi, when I use mysql_fetch_array() in a simple while-loop with an echo statement, as is shown in the PHP Manual, it works fine for fetching data from my database. But when I use it in combination with a class that I wrote, it doesnt display anything. Here's the source: while($row = mysql_fetch_array($db)) { $text = $row['content']; $homepage->content = $text; } PHP: Here's the relevant part of my class: function DisplayContent() { ?> <div id="center"> <?php echo $this->content; } PHP: I just dont understand why. When I simply use an echo statement in the while loop, it displays all results they way its supposed to. But when I try to display them with my $homepage->content command, nothing shows up. thanks in advance