Welcome Guest, Not a member yet? Register   Sign In
HELP joining tables...
#11

[eluser]Ochetski[/eluser]
A PHP Error was encountered

Severity: Notice

Message: Undefined variable: userId

Filename: models/user_model.php

Line Number: 45

This means that your $userId variable has no value when you try to use it at line 45 on user_model.php
As asked before @Bart Mebane Where is $userId coming from?
#12

[eluser]Bart Mebane[/eluser]
When the index function in your controller calls the model, it needs to tell the model the user ID. How does the controller know what user ID to use?
#13

[eluser]chazy (aldever calvo)[/eluser]
thanks for the help... problem is solved... Smile




Theme © iAndrew 2016 - Forum software by © MyBB