Welcome Guest, Not a member yet? Register   Sign In
Weird problem..
#2

[eluser]Johan André[/eluser]
You get the first two errors because the $data-array does not have any keys named "title" and "mededling". You need to do $data = array(); before assigning anything to it. The last error is because you outputted something (in this case the errors) before setting the headers. If you fix the first two the last error will not show...

Also, I would recommend naming your controllers and variables in english since it's much easier to understand your code (when you ask for help). Ofcourse it does not affect the function at all... Smile


Messages In This Thread
Weird problem.. - by El Forum - 07-19-2009, 03:05 AM
Weird problem.. - by El Forum - 07-19-2009, 10:42 AM



Theme © iAndrew 2016 - Forum software by © MyBB