Using functions set in a model? [SOLVED] |
[eluser]Schneider707[/eluser]
Ok so here is my new controller Code: class Profiles extends Controller and my new model Code: class Profile_Model extends Model I made changes to what Fuzzy0ne posted. I'm getting this error: Code: A PHP Error was encountered and when I print_r($ti) in the controller, i get this Code: Array ( [0] => Array ( [id] => 1 [username] => tester [password] => 7110eda4d09e062aa5e4a390b0a572ac0d2c0220 [fname] => Mike [lname] => Schneider [email] => [email protected] [twitter_id] => 16020929 [twitter_name] => organikdesigns [company] => [address] => [number] => ) ) So what am I doing wrong? I'm able to fetch the data so its down to me sucking at php in general =P |
Messages In This Thread |
Using functions set in a model? [SOLVED] - by El Forum - 02-21-2009, 01:24 PM
Using functions set in a model? [SOLVED] - by El Forum - 02-21-2009, 01:59 PM
Using functions set in a model? [SOLVED] - by El Forum - 02-21-2009, 02:36 PM
Using functions set in a model? [SOLVED] - by El Forum - 02-21-2009, 02:47 PM
Using functions set in a model? [SOLVED] - by El Forum - 02-21-2009, 02:49 PM
Using functions set in a model? [SOLVED] - by El Forum - 02-21-2009, 02:51 PM
Using functions set in a model? [SOLVED] - by El Forum - 02-21-2009, 03:00 PM
Using functions set in a model? [SOLVED] - by El Forum - 02-21-2009, 06:58 PM
Using functions set in a model? [SOLVED] - by El Forum - 02-21-2009, 07:17 PM
|