codeigniter - How to make Code Igniter Controller for multiple input form with type="file" -
i want ask, how make controller function in codeigniter view ?
<form action="<?=base_url()?>posts/new_post" method="post" enctype="multipart/form-data"><br> <input type="file" name="before" id="before" ><br> <input type="file" name="after" id="after" ><br> <input type="text" class="form-control" id="title" name="title" placeholder="enter name"><br> <textarea class="form-control" id="description" name="description" placeholder="enter name"></textarea><br> <input type="submit" value="submit profile picture" name="submit" class="btn btn-primary "> </form>
thank you
Comments
Post a Comment