How to upload image(photo), and path entry in database with update functionality

View : Model : Controller : I saw many posts that community newbie is confuse in image/photo upload with random name. so I post this topic covering all useful things regarding to image/photo upload(not covering image attribute related functionality) View :  _form.php file: ..//form options array…’htmlOptions’ => array( ‘enctype’ => ‘multipart/form-data’, ),…..//Other elements….<div class=”row”> <?php… Continue reading How to upload image(photo), and path entry in database with update functionality

How to upload image(photo), and path entry in database with update functionality

View : Model : Controller : I saw many posts that community newbie is confuse in image/photo upload with random name. so I post this topic covering all useful things regarding to image/photo upload(not covering image attribute related functionality) View :  _form.php file: ..//form options array…’htmlOptions’ => array( ‘enctype’ => ‘multipart/form-data’, ),…..//Other elements….<div class=”row”> <?php… Continue reading How to upload image(photo), and path entry in database with update functionality