Welcome Guest, Not a member yet? Register   Sign In
how to pass row( ) data from a model class function to a controller
#5

[eluser]Rob J Shillito[/eluser]
Thanks very much mate Smile

All working now Smile

Just in case anyone wants the code here is the fix to output the fullname, which is stored in the db.

Code:
$output = $this->loginscript->checklogin($_POST['username'], $_POST['password']);//pass variables to function
echo $output->fullname;

Thanks again Smile


Messages In This Thread
how to pass row( ) data from a model class function to a controller - by El Forum - 11-17-2012, 03:54 AM



Theme © iAndrew 2016 - Forum software by © MyBB