Image upload to mysql database |
I want to upload the image to the mysql database for storing many information. I have attached the 3 (MVC) code for your reference and please help me.
View PHP Code: <form class="form-horizontal" action="edit_profile/update_profile" id="edit_profile_form_validation" method="post" enctype="multipart/form-data"> PHP Code: public function update_profile() { PHP Code: public function update_db_user_info($id) { in view i have shown only image upload code it has many code. Please help me how to complete the work.
I think you will upload the selected file to your webservers upload directory and not store the data as blob into your database.
To handle the upload you have to follow the steps described here: http://www.codeigniter.com/userguide3/li...ading.html
|
Welcome Guest, Not a member yet? Register Sign In |