Page 3 of 3

Posted: Fri Aug 11, 2006 2:12 pm
by volka
volka wrote:This function does not return anything.
Therefore $cnx = Connect_to_db(...) set $cnx tu null.

see http://de2.php.net/return and http://de2.php.net/language.variables.scope

Posted: Fri Aug 11, 2006 3:14 pm
by Obadiah
thanx guys....turns out with the last error i just simply needed to say return($cxn) the log-in works now.....right now im in the process of debuggin the registration part....go figure it all can be perfect...ahh well ill let you guys know how it goes...thanks alot to all you guys for helpin me out and not just saying, "ahh screw it" i know i felt like it once or twice in the process...if i knew you, all id buy you all a beer....just one though...lol...beer can get expensive after the first round and thats just for me :wink:

Posted: Fri Aug 11, 2006 3:41 pm
by RobertGonzalez
To reiterate, both volka and I posted that solution.