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

android - Why am I getting the message 'Youractivity.java is not an activity subclass or alias' -

python - How do I create a list index that loops through integers in another list -

c# - “System.Security.Cryptography.CryptographicException: Keyset does not exist” when reading private key from remote machine -