View Single Post
  #8 (permalink)  
Old 04-30-09, 08:44 AM
outhowz42 outhowz42 is offline
Newbie Coder
 
Join Date: Jun 2008
Location: USA
Posts: 25
Thanks: 0
Thanked 0 Times in 0 Posts
Right after this line in the procRegister function:

* Registration attempt */
$retval = $session->register($_POST['user'], $_POST['pass'], $_POST['email'], $_POST['company']);


just do this

echo 'Return Value: '.$retval;

...and it will print the $retval to screen. The page will probably throw errors after that but it doesn't matter, we're only interested in $retval for now. You can remove it after you know the value.
__________________
www.sportsloon.com
Reply With Quote