Can't access database table |
[eluser]mwaidmann[/eluser]
hi there, i'm pretty new to codeigniter and i'm playing around with some ideas. now i'm getting a problem while catching data from a database. my controller function calls different functions in my model to get data from different tables. but only one table answers correct. the second table never returns anything. if i use a different controller and model to access data from this table it works fine. thanks for any help or suggestions! maik
[eluser]InsiteFX[/eluser]
If you want help you have to show your code! InsiteFX
[eluser]mwaidmann[/eluser]
Model: Code: class leuchttisch_model extends CI_Model { Controller: Code: <?php TABLE2 is the one i can't access.
[eluser]InsiteFX[/eluser]
Code: if($query->num_rows == 1){ Controller: Code: // leuchttische There is no reason why you should not be able to retrive both tables! But both tables have to be in the same database! Are both your tables named TABLE1 and TABLE2 ? InsiteFX
[eluser]Unknown[/eluser]
Hi, Good! So a SQL table linked into an Access database. I think that the issue will be on ... I can't see why they would eliminate that from the 2008 version. _______ Daniel Learn English Online
[eluser]InsiteFX[/eluser]
And what does that have to do with this post? InsiteFX
|
Welcome Guest, Not a member yet? Register Sign In |