Example for uploading file and store data |
[eluser]Unknown[/eluser]
I am beginner with CI: i search an example code for uploading a file and store the filename into a db, with other data filed. Thank you in advance.
[eluser]manilodisan[/eluser]
Have you checked the file upload class that CI comes with?
[eluser]fesweb[/eluser]
First: read this entire page on the file uploading class in CI. It includes this example, and notice where I've added a comment as to where you can add your database insert/update. Code: <?php |
Welcome Guest, Not a member yet? Register Sign In |