I have no idea what went wrong.
this is end i get:
Severity: Notice
Message: Use of undefined constant ID - assumed 'ID'
Filename: core/Loader.php
Line Number: 304
Severity: Notice
Message: Use of undefined constant postovi - assumed 'postovi'
Filename: core/Loader.php
Line Number: 304
this is code
EDIT 2: also file upload is not working right, it does put file on server, but it says error and then removes name and all form form.
it was created by this tutorial:
http://www.grocerycrud.com/examples/set_upload_field_example
EDIT 3 : i can now edit and view, ERROR:
A PHP Error was encountered
Severity: Notice
Message: Undefined property: stdClass::$ID
Filename: libraries/Grocery_CRUD.php
Line Number: 1595
IS no more.
now i cant upload ( it does get on server, it uploads, but i got alert that there was an error... and it wont let me submit form . ) and i still have this 2 errors :
Severity: Notice
Message: Use of undefined constant ID - assumed 'ID'
Filename: core/Loader.php
Line Number: 304
Severity: Notice
Message: Use of undefined constant postovi - assumed 'postovi'
Filename: core/Loader.php
Line Number: 304