im a beginner to fuelphp .i need to upload a image in to SQL database using fuelphp please if anyone can explain to me step by step i need with path of php files eg: fuel/app/classes/model please help me give me a example
To get it into the database you'll have to read the uploaded file into a variable after you called save(), and save it into the database. And delete the saved file from disk if you no longer need it there.
p.s. no need to ask the same question 3 times. Once is enough.
Apart from the two buttons, there's nothing wrong with the form.
You show a bit of code, and ask about your mistake. But you don't say what's goes wrong. I would suggest you dump Upload::get_errors() to see what errors are detected by the process() and save() calls.
Uploaded files with errors will not be processed, so you need to sort that out first.
Help you with what? You still haven't told me what your problem is? Does the form not work? Does the file not upload? Do you get PHP errors? Exceptions? ...
My assumption is that Upload::save() fails, because you have configured