I understand the echo command but not how to execute what you are telling me to do. Is $retval failing?
Are you looking for something like: echo "$retval" (I'm not sure how to link it)
Maybe something more along:
echo "<b>DATABASE:</b> ".$process->procRegister($retval)."";
echo "<b>DATABASE:</b> ".$database->addNewUser()."";
Again, I am a php newb.