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

Popular posts from this blog

sql - VB.NET Operand type clash: date is incompatible with int error -

SVG stroke-linecap doesn't work for circles in Firefox? -

python - TypeError: Scalar value for argument 'color' is not numeric in openCV -