really simple...cannot get update query working |
[eluser]alectrash[/eluser]
In my controller I have this code: Code: //create array of query data and in my model I have this code: Code: //updates an entry in blog table it just doesn't appear to be working and i am now stuck for ideas
[eluser]nevsie[/eluser]
i normally use active record to do this and make my life easier? So different from your method, but worth giving it a try? http://ellislab.com/codeigniter/user-gui...tml#update Code: $data = array(
[eluser]alectrash[/eluser]
I took the code out of my model and back in the controller and in worked. Thankyou |
Welcome Guest, Not a member yet? Register Sign In |