Page 1 of 1

Baffled - Problem with Echo [Solved]

Posted: Tue Jun 20, 2006 4:36 pm
by phpCCore Brad
Okay I was getting a blank page. So, I var_dumped my variable just to see what was going on. The variable has the right information in it, but when I try to echo the information I get a blank page. This page was working perfectly and now it stopped working.

Code: Select all

var_dump($main);
echo $main->finalText;
echo "test";

That is the code I have. THe webpage is: http://www.disc-covers.com/?cmd=MembersList

As you will notice the vardump dumps the class and the variable finalText is there and should echo, but when I try to echo it I get nothing. IF you will also notice I can echo after it fine just can't echo anything in the class... I have echoed every variable in the class and have got nothing. Any help would be appreciated..

Posted: Tue Jun 20, 2006 4:39 pm
by phpCCore Brad
Another note...

if I var_dump($main->finalText); I get NULL

Posted: Tue Jun 20, 2006 4:41 pm
by phpCCore Brad
Nevermind... I figured it out. I was using byRef commands in my functions and it passed the variable back as an array. Sorry about the mistake