Welcome Guest, Not a member yet? Register   Sign In
Grab a row and use (IF) to check if id matches
#11

[eluser]the_unforgiven[/eluser]
I only asked to just make sure although I know it was a model function just like to clarify things before i jump in the deep end!!!

I understand the MVC model otherwise everything else wouldn't work seemlessly would it?
Im just getting myself in a mess with how to get one piece of data to clarify which ever client its on it know to bring the CustomerID of the URI to display the meetings
#12

[eluser]vbsaltydog[/eluser]
[quote author="the_unforgiven" date="1328466012"]
I understand the MVC model otherwise everything else wouldn't work seemlessly would it?
[/quote]

I am not looking for a debate here. Its obvious from your code that you do NOT understand the MVC design pattern. I am only trying to help, if its not appreciated.... good luck.

MVC tip of the day: calling the view from the model is not MVC.
#13

[eluser]the_unforgiven[/eluser]
No and am not looking for a debate either just saying I do understand parts, not all of it hence me asking on here for help and your help is much appreciated, so if you'd be so kind to help me figure out what ive done and what is the right way then I would very much appreciate it.
#14

[eluser]vbsaltydog[/eluser]
I helped by correcting your model method. If you need help with the controller/view logic then I am available for professional consulting, as are several others in this forum.
#15

[eluser]the_unforgiven[/eluser]
Its ok, I have sorted it by looking back over my code as you suggested, change the model to only hav the database queries in and everything is now in the contoller, just having a problem with the query now,

Message: Trying to get property of non-object

So i'll work that out thanks again dude, made me realise I'd done something wrong, much appreciate your help.
#16

[eluser]vbsaltydog[/eluser]
glad you are getting it sorted out.




Theme © iAndrew 2016 - Forum software by © MyBB