{"id":2183,"date":"2018-01-03T10:53:33","date_gmt":"2018-01-03T03:53:33","guid":{"rendered":"http:\/\/devbanban.com\/?p=2183"},"modified":"2018-01-03T11:11:18","modified_gmt":"2018-01-03T04:11:18","slug":"codeigniter-multiple-image-upload","status":"publish","type":"post","link":"https:\/\/devbanban.com\/?p=2183","title":{"rendered":"Codeigniter : Multiple image  Upload &#038; database"},"content":{"rendered":"<p>Codeigniter : Multiple image Upload <!--more--><\/p>\n<p><strong>example tables<\/strong><\/p>\n<pre class=\"lang:default decode:true \">CREATE TABLE `photos` (\r\n  `id` int(11) NOT NULL,\r\n  `image` varchar(350) NOT NULL,\r\n  `user_id` int(11) NOT NULL\r\n) ENGINE=InnoDB DEFAULT CHARSET=latin1;\r\n\r\n\r\nCREATE TABLE `user` (\r\n  `u_id` int(11) NOT NULL,\r\n  `name` varchar(350) NOT NULL,\r\n  `class` varchar(350) NOT NULL\r\n) ENGINE=InnoDB DEFAULT CHARSET=latin1;\r\n\r\nALTER TABLE `photos`\r\n  ADD PRIMARY KEY (`id`);\r\n\r\n\r\nALTER TABLE `user`\r\n  ADD PRIMARY KEY (`u_id`);\r\n\r\nALTER TABLE `photos`\r\n  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;\r\n\r\n\r\nALTER TABLE `user`\r\n  MODIFY `u_id` int(11) NOT NULL AUTO_INCREMENT;<\/pre>\n<p>&nbsp;<\/p>\n<p><strong>autoload customize<\/strong><\/p>\n<pre class=\"lang:default decode:true \">$autoload['libraries'] = array('database', 'email', 'session', 'upload');<\/pre>\n<p>Controllers\u00a0 \u00a0\u00a0Welcome.php<\/p>\n<pre class=\"lang:default decode:true \">&lt;?php\r\ndefined('BASEPATH') OR exit('No direct script access allowed');\r\n\r\nclass Welcome extends CI_Controller {\r\n\r\n    \/**\r\n     * Index Page for this controller.\r\n     *\r\n     * Maps to the following URL\r\n     *      http:\/\/example.com\/index.php\/welcome\r\n     *  - or -\r\n     *      http:\/\/example.com\/index.php\/welcome\/index\r\n     *  - or -\r\n     * Since this controller is set as the default controller in\r\n     * config\/routes.php, it's displayed at http:\/\/example.com\/\r\n     *\r\n     * So any other public methods not prefixed with an underscore will\r\n     * map to \/index.php\/welcome\/&lt;method_name&gt;\r\n     * @see https:\/\/codeigniter.com\/user_guide\/general\/urls.html\r\n     *\/\r\n\r\n    public function __construct()\r\n    {\r\n        parent::__construct();\r\n        $this-&gt;load-&gt;helper('url');                    \/***** LOADING HELPER TO AVOID PHP ERROR ****\/\r\n        $this-&gt;load-&gt;model('Welcome_model','welcome'); \/* LOADING MODEL * Welcome_model as welcome *\/\r\n    }\r\n\r\n    public function index()\r\n    {\r\n        $this-&gt;load-&gt;view('welcome_message');\r\n    }\r\n\r\n    public function file_upload(){\r\n              $files = $_FILES;\r\n              $count = count($_FILES['userfile']['name']);\r\n              for($i=0; $i&lt;$count; $i++)\r\n                {\r\n                $_FILES['userfile']['name']= time().$files['userfile']['name'][$i];\r\n                $_FILES['userfile']['type']= $files['userfile']['type'][$i];\r\n                $_FILES['userfile']['tmp_name']= $files['userfile']['tmp_name'][$i];\r\n                $_FILES['userfile']['error']= $files['userfile']['error'][$i];\r\n                $_FILES['userfile']['size']= $files['userfile']['size'][$i];\r\n                $config['upload_path'] = '.\/uploads\/';\r\n                $config['allowed_types'] = 'gif|jpg|png|jpeg';\r\n                $config['max_size'] = '2000000';\r\n                $config['remove_spaces'] = true;\r\n                $config['overwrite'] = false;\r\n                $config['max_width'] = '';\r\n                $config['max_height'] = '';\r\n                $this-&gt;load-&gt;library('upload', $config);\r\n                $this-&gt;upload-&gt;initialize($config);\r\n                $this-&gt;upload-&gt;do_upload();\r\n                $fileName = $_FILES['userfile']['name'];\r\n                $images[] = $fileName;\r\n                }\r\n                  $fileName = implode(',',$images);\r\n                  $this-&gt;welcome-&gt;upload_image($this-&gt;input-&gt;post(),$fileName);\r\n                  redirect('welcome\/view');\r\n                }\r\n\r\n        public function view(){\r\n            $this-&gt;data['view_data']= $this-&gt;welcome-&gt;view_data();\r\n            $this-&gt;load-&gt;view('view', $this-&gt;data, FALSE);\r\n                }\r\n\r\n        public function edit($edit_id){\r\n            $this-&gt;data['edit_data']= $this-&gt;welcome-&gt;edit_data($edit_id);\r\n            $this-&gt;data['edit_data_image']= $this-&gt;welcome-&gt;edit_data_image($edit_id);\r\n            $this-&gt;load-&gt;view('edit', $this-&gt;data, FALSE);\r\n                }\r\n\r\n        public function deleteimage(){\r\n            $deleteid  = $this-&gt;input-&gt;post('image_id');\r\n            $this-&gt;db-&gt;delete('photos', array('id' =&gt; $deleteid)); \r\n            $verify = $this-&gt;db-&gt;affected_rows();\r\n            echo $verify;\r\n\r\n        }\r\n\r\n\r\n       public function edit_file_upload(){\r\n              $files = $_FILES;\r\n              if(!empty($files['userfile']['name'][0])){\r\n              $count = count($_FILES['userfile']['name']);\r\n              $user_id = $this-&gt;input-&gt;post('user_id');\r\n              for($i=0; $i&lt;$count; $i++)\r\n                {\r\n                $_FILES['userfile']['name']= time().$files['userfile']['name'][$i];\r\n                $_FILES['userfile']['type']= $files['userfile']['type'][$i];\r\n                $_FILES['userfile']['tmp_name']= $files['userfile']['tmp_name'][$i];\r\n                $_FILES['userfile']['error']= $files['userfile']['error'][$i];\r\n                $_FILES['userfile']['size']= $files['userfile']['size'][$i];\r\n                $config['upload_path'] = '.\/uploads\/';\r\n                $config['allowed_types'] = 'gif|jpg|png|jpeg';\r\n                $config['max_size'] = '2000000';\r\n                $config['remove_spaces'] = true;\r\n                $config['overwrite'] = false;\r\n                $config['max_width'] = '';\r\n                $config['max_height'] = '';\r\n                $this-&gt;load-&gt;library('upload', $config);\r\n                $this-&gt;upload-&gt;initialize($config);\r\n                $this-&gt;upload-&gt;do_upload();\r\n                $fileName = $_FILES['userfile']['name'];\r\n                $images[] = $fileName;\r\n                }\r\n                  $fileName = implode(',',$images);\r\n                  $this-&gt;welcome-&gt;edit_upload_image($user_id,$this-&gt;input-&gt;post(),$fileName);\r\n                }else\r\n                {\r\n              $user_id = $this-&gt;input-&gt;post('user_id');\r\n              $this-&gt;welcome-&gt;edit_upload_image($user_id,$this-&gt;input-&gt;post());\r\n                }\r\n                redirect('welcome\/view');\r\n                }\r\n    }\r\n<\/pre>\n<p><strong>models\u00a0\u00a0Welcome_model.php<\/strong><\/p>\n<pre class=\"lang:default decode:true \">&lt;?php\r\nclass Welcome_model extends CI_Model\r\n{\r\n    public function __construct()\r\n    {\r\n        parent::__construct();\r\n    }\r\n\r\n    public function upload_image($inputdata,$filename)\r\n    {\r\n      $this-&gt;db-&gt;insert('user', $inputdata); \r\n      $insert_id = $this-&gt;db-&gt;insert_id();\r\n      if($filename!='' ){\r\n      $filename1 = explode(',',$filename);\r\n      foreach($filename1 as $file){\r\n      $file_data = array(\r\n      'image' =&gt; $file,\r\n      'user_id' =&gt; $insert_id\r\n      );\r\n      $this-&gt;db-&gt;insert('photos', $file_data);\r\n      }\r\n      }\r\n    }\r\n\r\n    public function view_data(){\r\n        $query=$this-&gt;db-&gt;query(\"SELECT ud.*\r\n                                 FROM user ud \r\n                                 ORDER BY ud.u_id DESC\");\r\n        return $query-&gt;result_array();\r\n    }\r\n\r\n    public function edit_data($id){\r\n        $query=$this-&gt;db-&gt;query(\"SELECT ud.*\r\n                                 FROM user ud \r\n                                 WHERE ud.u_id = $id\");\r\n        return $query-&gt;result_array();\r\n    }\r\n\r\n    public function edit_data_image($id){\r\n        $query=$this-&gt;db-&gt;query(\"SELECT photo.*\r\n                                 FROM user ud \r\n                                 RIGHT JOIN photos as photo\r\n                                 ON ud.u_id = photo.user_id \r\n                                 WHERE ud.u_id = $id\");\r\n        return $query-&gt;result_array();\r\n    }\r\n\r\n    public function edit_upload_image($user_id,$inputdata,$filename ='')\r\n    {\r\n\r\n        $data = array('name'                   =&gt; $inputdata['name'],\r\n                      'class'                  =&gt; $inputdata['class']);\r\n        $this-&gt;db-&gt;where('u_id', $user_id);\r\n        $this-&gt;db-&gt;update('user', $data);\r\n\r\n      if($filename!='' ){\r\n      $filename1 = explode(',',$filename);\r\n      foreach($filename1 as $file){\r\n      $file_data = array(\r\n      'image' =&gt; $file,\r\n      'user_id' =&gt; $user_id\r\n      );\r\n      $this-&gt;db-&gt;insert('photos', $file_data);\r\n      }\r\n      }\r\n    }\r\n\r\n}<\/pre>\n<p>&nbsp;<\/p>\n<p><strong>views (upload form) welcome_message.php<\/strong><\/p>\n<pre class=\"lang:default decode:true \">&lt;?php\r\ndefined('BASEPATH') OR exit('No direct script access allowed');\r\n?&gt;&lt;!DOCTYPE html&gt;\r\n&lt;html lang=\"en\"&gt;\r\n&lt;head&gt;\r\n\t&lt;meta charset=\"utf-8\"&gt;\r\n\t&lt;title&gt;Welcome to CodeIgniter&lt;\/title&gt;\r\n\r\n\t&lt;style type=\"text\/css\"&gt;\r\n\r\n\t::selection { background-color: #E13300; color: white; }\r\n\t::-moz-selection { background-color: #E13300; color: white; }\r\n\r\n\tbody {\r\n\t\tbackground-color: #fff;\r\n\t\tmargin: 40px;\r\n\t\tfont: 13px\/20px normal Helvetica, Arial, sans-serif;\r\n\t\tcolor: #4F5155;\r\n\t}\r\n\r\n\ta {\r\n\t\tcolor: #003399;\r\n\t\tbackground-color: transparent;\r\n\t\tfont-weight: normal;\r\n\t}\r\n\r\n\th1 {\r\n\t\tcolor: #444;\r\n\t\tbackground-color: transparent;\r\n\t\tborder-bottom: 1px solid #D0D0D0;\r\n\t\tfont-size: 19px;\r\n\t\tfont-weight: normal;\r\n\t\tmargin: 0 0 14px 0;\r\n\t\tpadding: 14px 15px 10px 15px;\r\n\t}\r\n\r\n\tcode {\r\n\t\tfont-family: Consolas, Monaco, Courier New, Courier, monospace;\r\n\t\tfont-size: 12px;\r\n\t\tbackground-color: #f9f9f9;\r\n\t\tborder: 1px solid #D0D0D0;\r\n\t\tcolor: #002166;\r\n\t\tdisplay: block;\r\n\t\tmargin: 14px 0 14px 0;\r\n\t\tpadding: 12px 10px 12px 10px;\r\n\t}\r\n\r\n\t#body {\r\n\t\tmargin: 0 15px 0 15px;\r\n\t}\r\n\r\n\tp.footer {\r\n\t\ttext-align: right;\r\n\t\tfont-size: 11px;\r\n\t\tborder-top: 1px solid #D0D0D0;\r\n\t\tline-height: 32px;\r\n\t\tpadding: 0 10px 0 10px;\r\n\t\tmargin: 20px 0 0 0;\r\n\t}\r\n\r\n\t#container {\r\n\t\tmargin: 10px;\r\n\t\tborder: 1px solid #D0D0D0;\r\n\t\tbox-shadow: 0 0 8px #D0D0D0;\r\n\t}\r\n\t&lt;\/style&gt;\r\n&lt;\/head&gt;\r\n&lt;body&gt;\r\n\r\n&lt;div align=\"center\" class=\"container\"&gt;\r\n&lt;form method=\"POST\" action=\"&lt;?php echo site_url('welcome\/file_upload');?&gt;\" enctype='multipart\/form-data'&gt;\r\n&lt;table border=\"1\"&gt;\r\n&lt;tr&gt;\r\n&lt;td&gt;Name&lt;\/td&gt;\r\n&lt;td&gt;&lt;input type=\"text\" name=\"name\" required id=\"name\" placeholder=\"Name\"&gt;&lt;\/td&gt;\r\n&lt;\/tr&gt;\r\n&lt;tr&gt;\r\n&lt;td&gt;Class&lt;\/td&gt;\r\n&lt;td&gt;&lt;input type=\"text\" name=\"class\" required id=\"class\" placeholder=\"Class\"&gt;&lt;\/td&gt;\r\n&lt;\/tr&gt;\r\n&lt;tr&gt;\r\n&lt;td&gt;Images&lt;\/td&gt;\r\n&lt;td&gt;&lt;input type=\"file\" name=\"userfile[]\" required id=\"image_file\" accept=\".png,.jpg,.jpeg,.gif\" multiple&gt;&lt;\/td&gt;\r\n&lt;\/tr&gt;\r\n&lt;tr&gt;\r\n&lt;td colspan=\"2\" align=\"center\"&gt;&lt;input style=\"width: 50%;\" type=\"submit\" value=\"Submit\"&gt;&lt;\/td&gt;\r\n&lt;\/tr&gt;\r\n&lt;\/table&gt;\r\n&lt;\/form&gt;\r\n&lt;\/div&gt;\r\n\r\n&lt;\/body&gt;\r\n&lt;\/html&gt;<\/pre>\n<p>&nbsp;<\/p>\n<p><strong>views (List)\u00a0 view.php<\/strong><\/p>\n<pre class=\"lang:default decode:true \">&lt;div align=\"center\" class=\"container\"&gt;\r\n&lt;p align=\"center\"&gt;&lt;a href=\"&lt;?php echo base_url(); ?&gt;\"&gt;Upload new data&lt;\/a&gt;&lt;\/p&gt;\r\n&lt;table border=\"1\" style=\"width:100%\"&gt;\r\n  &lt;tr&gt;\r\n    &lt;td&gt;S.No&lt;\/td&gt;\r\n    &lt;td&gt;Name&lt;\/td&gt; \r\n    &lt;td&gt;Class&lt;\/td&gt;\r\n    &lt;td&gt;Edit&lt;\/td&gt;\r\n  &lt;\/tr&gt;\r\n  &lt;?php\r\n    if(isset($view_data) &amp;&amp; is_array($view_data) &amp;&amp; count($view_data)): $i=1;\r\n    foreach ($view_data as $key =&gt; $data) { \r\n    ?&gt;\r\n  &lt;tr&gt;\r\n    &lt;td&gt;&lt;?php echo $i++ ?&gt;&lt;\/td&gt;\r\n    &lt;td&gt;&lt;?php echo $data['name']; ?&gt;&lt;\/td&gt; \r\n    &lt;td&gt;&lt;?php echo $data['class']; ?&gt;&lt;\/td&gt;\r\n    &lt;td&gt;&lt;a href=\"&lt;?php echo site_url(); ?&gt;\/welcome\/edit\/&lt;?php echo $data['u_id']; ?&gt;\"&gt;Edit&lt;\/a&gt;&lt;\/td&gt;\r\n  &lt;\/tr&gt;\r\n  &lt;?php } endif; ?&gt;\r\n&lt;\/table&gt;\r\n&lt;\/div&gt;<\/pre>\n<p><strong>views\u00a0 edit.php<\/strong><\/p>\n<pre class=\"lang:default decode:true \">&lt;div align=\"center\" class=\"container\"&gt;\r\n&lt;form method=\"POST\" action=\"&lt;?php echo site_url('welcome\/edit_file_upload');?&gt;\" enctype='multipart\/form-data'&gt;\r\n&lt;table border=\"1\"&gt;\r\n&lt;?php\r\n    if(isset($edit_data) &amp;&amp; is_array($edit_data) &amp;&amp; count($edit_data)): $i=1;\r\n    foreach ($edit_data as $key =&gt; $data) { \r\n  ?&gt;\r\n&lt;tr&gt;\r\n&lt;td&gt;Name&lt;\/td&gt;\r\n&lt;td&gt;&lt;input type=\"text\" name=\"name\" value=\"&lt;?php echo $data['name']; ?&gt;\" id=\"file\" placeholder=\"name\"&gt;&lt;\/td&gt;\r\n&lt;\/tr&gt;\r\n&lt;tr&gt;\r\n&lt;td&gt;Class&lt;\/td&gt;\r\n&lt;td&gt;&lt;input type=\"text\" name=\"class\" value=\"&lt;?php echo $data['class']; ?&gt;\" id=\"file\" placeholder=\"class\"&gt;&lt;\/td&gt;\r\n&lt;input type=\"hidden\" name=\"user_id\" value=\"&lt;?php echo $data['u_id']; ?&gt;\" id=\"file\" placeholder=\"class\"&gt;\r\n&lt;\/tr&gt;\r\n&lt;?php } endif; ?&gt;\r\n&lt;?php\r\n    if(isset($edit_data_image) &amp;&amp; is_array($edit_data) &amp;&amp; count($edit_data)): $i=1;\r\n    foreach ($edit_data_image as $key =&gt; $data) { \r\n  ?&gt;\r\n&lt;tr class=\"imagelocation&lt;?php echo $data['id'] ?&gt;\"&gt;\r\n&lt;td colspan=\"2\" align=\"center\"&gt;\r\n&lt;img src=\"&lt;?php echo base_url(); ?&gt;uploads\/&lt;?php echo $data['image']; ?&gt;\" style=\"vertical-align:middle;\" width=\"80\" height=\"80\"&gt;\r\n&lt;span style=\"cursor:pointer;\" onclick=\"javascript:deleteimage(&lt;?php echo $data['id'] ?&gt;)\"&gt;X&lt;\/span&gt;\r\n&lt;\/td&gt;\r\n&lt;\/tr&gt;\r\n&lt;?php }endif; ?&gt;\r\n&lt;tr&gt;\r\n&lt;td&gt;Images&lt;\/td&gt;\r\n&lt;td&gt;&lt;input type=\"file\" name=\"userfile[]\" id=\"image_file\" accept=\".png,.jpg,.jpeg,.gif\" multiple&gt;&lt;\/td&gt;\r\n&lt;\/tr&gt;\r\n&lt;tr&gt;\r\n&lt;td colspan=\"2\" align=\"center\"&gt;&lt;input style=\"width: 50%;\" type=\"submit\" value=\"Submit\"&gt;&lt;\/td&gt;\r\n&lt;\/tr&gt;\r\n&lt;\/table&gt;\r\n&lt;\/form&gt;\r\n&lt;\/div&gt;\r\n\r\n&lt;script type=\"text\/javascript\"&gt;\r\nfunction deleteimage(image_id)\r\n{\r\nvar answer = confirm (\"Are you sure you want to delete from this post?\");\r\nif (answer)\r\n{\r\n        $.ajax({\r\n                type: \"POST\",\r\n                url: \"&lt;?php echo site_url('welcome\/deleteimage');?&gt;\",\r\n                data: \"image_id=\"+image_id,\r\n                success: function (response) {\r\n                  if (response == 1) {\r\n                    $(\".imagelocation\"+image_id).remove(\".imagelocation\"+image_id);\r\n                  };\r\n                  \r\n                }\r\n            });\r\n      }\r\n}\r\n&lt;\/script&gt;<\/pre>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>ref :\u00a0http:\/\/www.2my4edge.com\/2016\/04\/multiple-image-upload-with-view-edit.html<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Codeigniter : Multiple image Upload<\/p>\n","protected":false},"author":1,"featured_media":2184,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_feature_clip_id":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_post_was_ever_published":false},"categories":[164],"tags":[165],"class_list":["post-2183","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-codeigniter","tag-codeigniter"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.2 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Codeigniter : Multiple image Upload &amp; database - \u0e2a\u0e2d\u0e19\u0e2a\u0e23\u0e49\u0e32\u0e07\u0e40\u0e27\u0e47\u0e1a\u0e44\u0e0b\u0e15\u0e4c\u0e1f\u0e23\u0e35 [PHP, SQL, Codeigniter, Bootstrap, HTML]<\/title>\n<meta name=\"description\" content=\"\u0e2a\u0e2d\u0e19\u0e17\u0e33\u0e40\u0e27\u0e47\u0e1a\u0e44\u0e0b\u0e15\u0e4c, \u0e17\u0e33\u0e40\u0e27\u0e47\u0e1a\u0e44\u0e0b\u0e15\u0e4c, \u0e2a\u0e2d\u0e19\u0e17\u0e33 website, \u0e2a\u0e2d\u0e19 php, \u0e2a\u0e2d\u0e19 codeigniter , database, css, web app, sql, bootstrap\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/devbanban.com\/?p=2183\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:title\" content=\"Codeigniter : Multiple image Upload &amp; database - \u0e2a\u0e2d\u0e19\u0e2a\u0e23\u0e49\u0e32\u0e07\u0e40\u0e27\u0e47\u0e1a\u0e44\u0e0b\u0e15\u0e4c\u0e1f\u0e23\u0e35 [PHP, SQL, Codeigniter, Bootstrap, HTML]\" \/>\n<meta name=\"twitter:description\" content=\"\u0e2a\u0e2d\u0e19\u0e17\u0e33\u0e40\u0e27\u0e47\u0e1a\u0e44\u0e0b\u0e15\u0e4c, \u0e17\u0e33\u0e40\u0e27\u0e47\u0e1a\u0e44\u0e0b\u0e15\u0e4c, \u0e2a\u0e2d\u0e19\u0e17\u0e33 website, \u0e2a\u0e2d\u0e19 php, \u0e2a\u0e2d\u0e19 codeigniter , database, css, web app, sql, bootstrap\" \/>\n<meta name=\"twitter:image\" content=\"https:\/\/i0.wp.com\/devbanban.com\/wp-content\/uploads\/2018\/01\/Data-cd.jpg?fit=960%2C720&ssl=1\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"devbanban\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"9 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/devbanban.com\\\/?p=2183#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/devbanban.com\\\/?p=2183\"},\"author\":{\"name\":\"devbanban\",\"@id\":\"https:\\\/\\\/devbanban.com\\\/#\\\/schema\\\/person\\\/aa637e5a6aefe44e0dbfcac2b429fcc3\"},\"headline\":\"Codeigniter : Multiple image Upload &#038; database\",\"datePublished\":\"2018-01-03T03:53:33+00:00\",\"dateModified\":\"2018-01-03T04:11:18+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/devbanban.com\\\/?p=2183\"},\"wordCount\":48,\"image\":{\"@id\":\"https:\\\/\\\/devbanban.com\\\/?p=2183#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/i0.wp.com\\\/devbanban.com\\\/wp-content\\\/uploads\\\/2018\\\/01\\\/Data-cd.jpg?fit=960%2C720&ssl=1\",\"keywords\":[\"codeigniter\"],\"articleSection\":[\"Codeigniter\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/devbanban.com\\\/?p=2183\",\"url\":\"https:\\\/\\\/devbanban.com\\\/?p=2183\",\"name\":\"Codeigniter : Multiple image Upload & database - \u0e2a\u0e2d\u0e19\u0e2a\u0e23\u0e49\u0e32\u0e07\u0e40\u0e27\u0e47\u0e1a\u0e44\u0e0b\u0e15\u0e4c\u0e1f\u0e23\u0e35 [PHP, SQL, Codeigniter, Bootstrap, HTML]\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/devbanban.com\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/devbanban.com\\\/?p=2183#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/devbanban.com\\\/?p=2183#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/i0.wp.com\\\/devbanban.com\\\/wp-content\\\/uploads\\\/2018\\\/01\\\/Data-cd.jpg?fit=960%2C720&ssl=1\",\"datePublished\":\"2018-01-03T03:53:33+00:00\",\"dateModified\":\"2018-01-03T04:11:18+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/devbanban.com\\\/#\\\/schema\\\/person\\\/aa637e5a6aefe44e0dbfcac2b429fcc3\"},\"description\":\"\u0e2a\u0e2d\u0e19\u0e17\u0e33\u0e40\u0e27\u0e47\u0e1a\u0e44\u0e0b\u0e15\u0e4c, \u0e17\u0e33\u0e40\u0e27\u0e47\u0e1a\u0e44\u0e0b\u0e15\u0e4c, \u0e2a\u0e2d\u0e19\u0e17\u0e33 website, \u0e2a\u0e2d\u0e19 php, \u0e2a\u0e2d\u0e19 codeigniter , database, css, web app, sql, bootstrap\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/devbanban.com\\\/?p=2183#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/devbanban.com\\\/?p=2183\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/devbanban.com\\\/?p=2183#primaryimage\",\"url\":\"https:\\\/\\\/i0.wp.com\\\/devbanban.com\\\/wp-content\\\/uploads\\\/2018\\\/01\\\/Data-cd.jpg?fit=960%2C720&ssl=1\",\"contentUrl\":\"https:\\\/\\\/i0.wp.com\\\/devbanban.com\\\/wp-content\\\/uploads\\\/2018\\\/01\\\/Data-cd.jpg?fit=960%2C720&ssl=1\",\"width\":960,\"height\":720},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/devbanban.com\\\/?p=2183#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/devbanban.com\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Codeigniter : Multiple image Upload &#038; database\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/devbanban.com\\\/#website\",\"url\":\"https:\\\/\\\/devbanban.com\\\/\",\"name\":\"\u0e2a\u0e2d\u0e19\u0e2a\u0e23\u0e49\u0e32\u0e07\u0e40\u0e27\u0e47\u0e1a\u0e44\u0e0b\u0e15\u0e4c\u0e1f\u0e23\u0e35 [PHP, SQL, Codeigniter, Bootstrap, HTML]\",\"description\":\"\u0e2a\u0e2d\u0e19\u0e40\u0e02\u0e35\u0e22\u0e19\u0e40\u0e27\u0e47\u0e1a\u0e44\u0e0b\u0e15\u0e4c\u0e1f\u0e23\u0e35 \u0e2a\u0e2d\u0e19\u0e17\u0e33\u0e23\u0e30\u0e1a\u0e1a\u0e2d\u0e35\u0e04\u0e2d\u0e21\u0e40\u0e21\u0e34\u0e23\u0e4c\u0e0a \u0e23\u0e30\u0e1a\u0e1a\u0e2b\u0e19\u0e31\u0e07\u0e2a\u0e37\u0e2d\u0e40\u0e27\u0e35\u0e22\u0e19 \u0e23\u0e30\u0e1a\u0e22\u0e37\u0e21\u0e04\u0e37\u0e19\u0e04\u0e23\u0e38\u0e20\u0e31\u0e13\u0e11\u0e4c \u0e23\u0e30\u0e1a\u0e1a\u0e04\u0e25\u0e31\u0e07\u0e02\u0e49\u0e2d\u0e2a\u0e2d\u0e1a \u0e23\u0e30\u0e1a\u0e1a\u0e41\u0e08\u0e49\u0e07\u0e0b\u0e48\u0e2d\u0e21 \u0e23\u0e30\u0e1a\u0e1a\u0e27\u0e34\u0e08\u0e31\u0e22 \u0e41\u0e25\u0e30\u0e23\u0e30\u0e1a\u0e1a\u0e10\u0e32\u0e19\u0e02\u0e49\u0e2d\u0e21\u0e39\u0e25\u0e1e\u0e23\u0e49\u0e2d\u0e21 Workshop PHP PDO MySQL \u0e2d\u0e35\u0e01\u0e21\u0e32\u0e01\u0e21\u0e32\u0e22\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/devbanban.com\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/devbanban.com\\\/#\\\/schema\\\/person\\\/aa637e5a6aefe44e0dbfcac2b429fcc3\",\"name\":\"devbanban\",\"description\":\"\u0e21\u0e35\u0e04\u0e27\u0e32\u0e21\u0e2a\u0e19\u0e43\u0e08\u0e40\u0e17\u0e04\u0e42\u0e19\u0e42\u0e25\u0e22\u0e35\u0e17\u0e35\u0e48\u0e43\u0e0a\u0e49\u0e1e\u0e31\u0e12\u0e19\u0e32\u0e40\u0e27\u0e47\u0e1a\u0e44\u0e0b\u0e15\u0e4c \u0e41\u0e25\u0e30\u0e2d\u0e22\u0e32\u0e01\u0e41\u0e1a\u0e48\u0e07\u0e1b\u0e31\u0e19\u0e04\u0e27\u0e32\u0e21\u0e23\u0e39\u0e49\u0e14\u0e49\u0e32\u0e19\u0e01\u0e32\u0e23\u0e1e\u0e31\u0e12\u0e19\u0e32\u0e40\u0e27\u0e47\u0e1a\u0e44\u0e0b\u0e15\u0e4c\u0e41\u0e25\u0e30\u0e2d\u0e37\u0e48\u0e19\u0e46\u0e2d\u0e35\u0e01\u0e21\u0e32\u0e01\u0e21\u0e32\u0e22...\",\"sameAs\":[\"http:\\\/\\\/devbanban.com\\\/\"],\"url\":\"https:\\\/\\\/devbanban.com\\\/?author=1\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Codeigniter : Multiple image Upload & database - \u0e2a\u0e2d\u0e19\u0e2a\u0e23\u0e49\u0e32\u0e07\u0e40\u0e27\u0e47\u0e1a\u0e44\u0e0b\u0e15\u0e4c\u0e1f\u0e23\u0e35 [PHP, SQL, Codeigniter, Bootstrap, HTML]","description":"\u0e2a\u0e2d\u0e19\u0e17\u0e33\u0e40\u0e27\u0e47\u0e1a\u0e44\u0e0b\u0e15\u0e4c, \u0e17\u0e33\u0e40\u0e27\u0e47\u0e1a\u0e44\u0e0b\u0e15\u0e4c, \u0e2a\u0e2d\u0e19\u0e17\u0e33 website, \u0e2a\u0e2d\u0e19 php, \u0e2a\u0e2d\u0e19 codeigniter , database, css, web app, sql, bootstrap","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/devbanban.com\/?p=2183","twitter_card":"summary_large_image","twitter_title":"Codeigniter : Multiple image Upload & database - \u0e2a\u0e2d\u0e19\u0e2a\u0e23\u0e49\u0e32\u0e07\u0e40\u0e27\u0e47\u0e1a\u0e44\u0e0b\u0e15\u0e4c\u0e1f\u0e23\u0e35 [PHP, SQL, Codeigniter, Bootstrap, HTML]","twitter_description":"\u0e2a\u0e2d\u0e19\u0e17\u0e33\u0e40\u0e27\u0e47\u0e1a\u0e44\u0e0b\u0e15\u0e4c, \u0e17\u0e33\u0e40\u0e27\u0e47\u0e1a\u0e44\u0e0b\u0e15\u0e4c, \u0e2a\u0e2d\u0e19\u0e17\u0e33 website, \u0e2a\u0e2d\u0e19 php, \u0e2a\u0e2d\u0e19 codeigniter , database, css, web app, sql, bootstrap","twitter_image":"https:\/\/i0.wp.com\/devbanban.com\/wp-content\/uploads\/2018\/01\/Data-cd.jpg?fit=960%2C720&ssl=1","twitter_misc":{"Written by":"devbanban","Est. reading time":"9 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/devbanban.com\/?p=2183#article","isPartOf":{"@id":"https:\/\/devbanban.com\/?p=2183"},"author":{"name":"devbanban","@id":"https:\/\/devbanban.com\/#\/schema\/person\/aa637e5a6aefe44e0dbfcac2b429fcc3"},"headline":"Codeigniter : Multiple image Upload &#038; database","datePublished":"2018-01-03T03:53:33+00:00","dateModified":"2018-01-03T04:11:18+00:00","mainEntityOfPage":{"@id":"https:\/\/devbanban.com\/?p=2183"},"wordCount":48,"image":{"@id":"https:\/\/devbanban.com\/?p=2183#primaryimage"},"thumbnailUrl":"https:\/\/i0.wp.com\/devbanban.com\/wp-content\/uploads\/2018\/01\/Data-cd.jpg?fit=960%2C720&ssl=1","keywords":["codeigniter"],"articleSection":["Codeigniter"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/devbanban.com\/?p=2183","url":"https:\/\/devbanban.com\/?p=2183","name":"Codeigniter : Multiple image Upload & database - \u0e2a\u0e2d\u0e19\u0e2a\u0e23\u0e49\u0e32\u0e07\u0e40\u0e27\u0e47\u0e1a\u0e44\u0e0b\u0e15\u0e4c\u0e1f\u0e23\u0e35 [PHP, SQL, Codeigniter, Bootstrap, HTML]","isPartOf":{"@id":"https:\/\/devbanban.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/devbanban.com\/?p=2183#primaryimage"},"image":{"@id":"https:\/\/devbanban.com\/?p=2183#primaryimage"},"thumbnailUrl":"https:\/\/i0.wp.com\/devbanban.com\/wp-content\/uploads\/2018\/01\/Data-cd.jpg?fit=960%2C720&ssl=1","datePublished":"2018-01-03T03:53:33+00:00","dateModified":"2018-01-03T04:11:18+00:00","author":{"@id":"https:\/\/devbanban.com\/#\/schema\/person\/aa637e5a6aefe44e0dbfcac2b429fcc3"},"description":"\u0e2a\u0e2d\u0e19\u0e17\u0e33\u0e40\u0e27\u0e47\u0e1a\u0e44\u0e0b\u0e15\u0e4c, \u0e17\u0e33\u0e40\u0e27\u0e47\u0e1a\u0e44\u0e0b\u0e15\u0e4c, \u0e2a\u0e2d\u0e19\u0e17\u0e33 website, \u0e2a\u0e2d\u0e19 php, \u0e2a\u0e2d\u0e19 codeigniter , database, css, web app, sql, bootstrap","breadcrumb":{"@id":"https:\/\/devbanban.com\/?p=2183#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/devbanban.com\/?p=2183"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/devbanban.com\/?p=2183#primaryimage","url":"https:\/\/i0.wp.com\/devbanban.com\/wp-content\/uploads\/2018\/01\/Data-cd.jpg?fit=960%2C720&ssl=1","contentUrl":"https:\/\/i0.wp.com\/devbanban.com\/wp-content\/uploads\/2018\/01\/Data-cd.jpg?fit=960%2C720&ssl=1","width":960,"height":720},{"@type":"BreadcrumbList","@id":"https:\/\/devbanban.com\/?p=2183#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/devbanban.com\/"},{"@type":"ListItem","position":2,"name":"Codeigniter : Multiple image Upload &#038; database"}]},{"@type":"WebSite","@id":"https:\/\/devbanban.com\/#website","url":"https:\/\/devbanban.com\/","name":"\u0e2a\u0e2d\u0e19\u0e2a\u0e23\u0e49\u0e32\u0e07\u0e40\u0e27\u0e47\u0e1a\u0e44\u0e0b\u0e15\u0e4c\u0e1f\u0e23\u0e35 [PHP, SQL, Codeigniter, Bootstrap, HTML]","description":"\u0e2a\u0e2d\u0e19\u0e40\u0e02\u0e35\u0e22\u0e19\u0e40\u0e27\u0e47\u0e1a\u0e44\u0e0b\u0e15\u0e4c\u0e1f\u0e23\u0e35 \u0e2a\u0e2d\u0e19\u0e17\u0e33\u0e23\u0e30\u0e1a\u0e1a\u0e2d\u0e35\u0e04\u0e2d\u0e21\u0e40\u0e21\u0e34\u0e23\u0e4c\u0e0a \u0e23\u0e30\u0e1a\u0e1a\u0e2b\u0e19\u0e31\u0e07\u0e2a\u0e37\u0e2d\u0e40\u0e27\u0e35\u0e22\u0e19 \u0e23\u0e30\u0e1a\u0e22\u0e37\u0e21\u0e04\u0e37\u0e19\u0e04\u0e23\u0e38\u0e20\u0e31\u0e13\u0e11\u0e4c \u0e23\u0e30\u0e1a\u0e1a\u0e04\u0e25\u0e31\u0e07\u0e02\u0e49\u0e2d\u0e2a\u0e2d\u0e1a \u0e23\u0e30\u0e1a\u0e1a\u0e41\u0e08\u0e49\u0e07\u0e0b\u0e48\u0e2d\u0e21 \u0e23\u0e30\u0e1a\u0e1a\u0e27\u0e34\u0e08\u0e31\u0e22 \u0e41\u0e25\u0e30\u0e23\u0e30\u0e1a\u0e1a\u0e10\u0e32\u0e19\u0e02\u0e49\u0e2d\u0e21\u0e39\u0e25\u0e1e\u0e23\u0e49\u0e2d\u0e21 Workshop PHP PDO MySQL \u0e2d\u0e35\u0e01\u0e21\u0e32\u0e01\u0e21\u0e32\u0e22","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/devbanban.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/devbanban.com\/#\/schema\/person\/aa637e5a6aefe44e0dbfcac2b429fcc3","name":"devbanban","description":"\u0e21\u0e35\u0e04\u0e27\u0e32\u0e21\u0e2a\u0e19\u0e43\u0e08\u0e40\u0e17\u0e04\u0e42\u0e19\u0e42\u0e25\u0e22\u0e35\u0e17\u0e35\u0e48\u0e43\u0e0a\u0e49\u0e1e\u0e31\u0e12\u0e19\u0e32\u0e40\u0e27\u0e47\u0e1a\u0e44\u0e0b\u0e15\u0e4c \u0e41\u0e25\u0e30\u0e2d\u0e22\u0e32\u0e01\u0e41\u0e1a\u0e48\u0e07\u0e1b\u0e31\u0e19\u0e04\u0e27\u0e32\u0e21\u0e23\u0e39\u0e49\u0e14\u0e49\u0e32\u0e19\u0e01\u0e32\u0e23\u0e1e\u0e31\u0e12\u0e19\u0e32\u0e40\u0e27\u0e47\u0e1a\u0e44\u0e0b\u0e15\u0e4c\u0e41\u0e25\u0e30\u0e2d\u0e37\u0e48\u0e19\u0e46\u0e2d\u0e35\u0e01\u0e21\u0e32\u0e01\u0e21\u0e32\u0e22...","sameAs":["http:\/\/devbanban.com\/"],"url":"https:\/\/devbanban.com\/?author=1"}]}},"jetpack_featured_media_url":"https:\/\/i0.wp.com\/devbanban.com\/wp-content\/uploads\/2018\/01\/Data-cd.jpg?fit=960%2C720&ssl=1","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p6bpqQ-zd","jetpack-related-posts":[{"id":2303,"url":"https:\/\/devbanban.com\/?p=2303","url_meta":{"origin":2183,"position":0},"title":"Codeigniter : Basic login with database","author":"devbanban","date":"20\/03\/2018","format":false,"excerpt":"Codeigniter : Basic login with database autoload $autoload['libraries'] = array('database', 'session'); $autoload['helper'] = array('form','url'); database $db['default'] = array( 'dsn' => '', 'hostname' => 'localhost', 'username' => 'root', 'password' => 'password', 'database' => 'db_test', 'dbdriver' => 'mysqli', 'dbprefix' => '', 'pconnect' => FALSE, 'db_debug' => (ENVIRONMENT !== 'production'), 'cache_on' => FALSE,\u2026","rel":"","context":"In &quot;Codeigniter&quot;","block_context":{"text":"Codeigniter","link":"https:\/\/devbanban.com\/?cat=164"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/devbanban.com\/wp-content\/uploads\/2018\/01\/Data-cd.jpg?fit=960%2C720&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/devbanban.com\/wp-content\/uploads\/2018\/01\/Data-cd.jpg?fit=960%2C720&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/devbanban.com\/wp-content\/uploads\/2018\/01\/Data-cd.jpg?fit=960%2C720&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/devbanban.com\/wp-content\/uploads\/2018\/01\/Data-cd.jpg?fit=960%2C720&ssl=1&resize=700%2C400 2x"},"classes":[]},{"id":2859,"url":"https:\/\/devbanban.com\/?p=2859","url_meta":{"origin":2183,"position":1},"title":"Codeigniter : Check duplicate data with num_rows","author":"devbanban","date":"28\/01\/2019","format":false,"excerpt":"Codeigniter : Check duplicate data with num_rows this workshop use to check a\u00a0 duplicate data with num_rows in codeigniter.\u00a0 eg = colunm 'mailto' example\u00a0 code\u00a0 the table CREATE TABLE `tbl_mail` ( `mid` int(11) NOT NULL, `mailto` varchar(200) NOT NULL, `mailsub` varchar(200) NOT NULL, `mailmessage` varchar(200) NOT NULL ) ENGINE=InnoDB DEFAULT\u2026","rel":"","context":"In &quot;Codeigniter&quot;","block_context":{"text":"Codeigniter","link":"https:\/\/devbanban.com\/?cat=164"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/devbanban.com\/wp-content\/uploads\/2018\/01\/Data-cd.jpg?fit=960%2C720&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/devbanban.com\/wp-content\/uploads\/2018\/01\/Data-cd.jpg?fit=960%2C720&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/devbanban.com\/wp-content\/uploads\/2018\/01\/Data-cd.jpg?fit=960%2C720&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/devbanban.com\/wp-content\/uploads\/2018\/01\/Data-cd.jpg?fit=960%2C720&ssl=1&resize=700%2C400 2x"},"classes":[]},{"id":3693,"url":"https:\/\/devbanban.com\/?p=3693","url_meta":{"origin":2183,"position":2},"title":"Codigniter : query in view + \u0e04\u0e34\u0e27\u0e23\u0e35\u0e48\u0e0b\u0e49\u0e2d\u0e19\u0e04\u0e34\u0e27\u0e23\u0e35\u0e48","author":"devbanban","date":"03\/08\/2020","format":false,"excerpt":"\u0e15\u0e22. Codigniter : query in view + \u0e04\u0e34\u0e27\u0e23\u0e35\u0e48\u0e0b\u0e49\u0e2d\u0e19\u0e04\u0e34\u0e27\u0e23\u0e35\u0e48\u0e41\u0e1a\u0e1a\u0e1a\u0e49\u0e32\u0e19\u0e46 *\u0e15\u0e31\u0e27\u0e2d\u0e22\u0e48\u0e32\u0e07\u0e42\u0e04\u0e49\u0e14\u0e2a\u0e32\u0e21\u0e32\u0e23\u0e16\u0e19\u0e33\u0e44\u0e1b\u0e1b\u0e23\u0e30\u0e22\u0e38\u0e01\u0e15\u0e4c\u0e43\u0e0a\u0e31\u0e01\u0e31\u0e1a\u0e23\u0e30\u0e1a\u0e1a\u0e1b\u0e23\u0e30\u0e40\u0e21\u0e34\u0e19\u0e44\u0e14\u0e49 \u0e40\u0e0a\u0e48\u0e19 \u0e01\u0e32\u0e23\u0e1b\u0e23\u0e30\u0e40\u0e21\u0e34\u0e19\u0e15\u0e49\u0e2d\u0e07\u0e21\u0e35\u0e2b\u0e25\u0e32\u0e22\u0e46\u0e14\u0e49\u0e32\u0e19 \u0e41\u0e25\u0e30\u0e41\u0e15\u0e48\u0e25\u0e30\u0e14\u0e49\u0e32\u0e19\u0e01\u0e47\u0e08\u0e30\u0e21\u0e35\u0e02\u0e49\u0e2d\u0e22\u0e48\u0e2d\u0e22\u0e40\u0e1e\u0e34\u0e48\u0e21\u0e40\u0e02\u0e49\u0e32\u0e21\u0e32\u0e2d\u0e35\u0e01 *\u0e15\u0e32\u0e23\u0e32\u0e07\u0e17\u0e35\u0e48\u0e41\u0e08\u0e01\u0e21\u0e35 2 \u0e15\u0e32\u0e23\u0e32\u0e07\u0e14\u0e49\u0e27\u0e22\u0e01\u0e31\u0e19 1.\u0e15\u0e32\u0e23\u0e32\u0e07 tbl_head \u0e40\u0e2d\u0e32\u0e44\u0e27\u0e49\u0e40\u0e01\u0e47\u0e1a\u0e2b\u0e31\u0e27\u0e02\u0e49\u0e2d\/\u0e14\u0e49\u0e32\u0e19\u0e01\u0e32\u0e23\u0e1b\u0e23\u0e30\u0e40\u0e21\u0e34\u0e19 \u0e41\u0e25\u0e30\u0e15\u0e32\u0e23\u0e32\u0e07 tbl_head_list\u00a0\u0e40\u0e2d\u0e32\u0e44\u0e27\u0e49\u0e40\u0e01\u0e47\u0e1a\u0e04\u0e33\u0e16\u0e32\u0e21\/\u0e02\u0e49\u0e2d\u0e22\u0e48\u0e2d\u0e22\u0e02\u0e2d\u0e07\u0e41\u0e15\u0e48\u0e25\u0e30\u0e14\u0e49\u0e32\u0e19 table CREATE TABLE `tbl_head` ( `id` int(11) NOT NULL, `name` varchar(100) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8; INSERT INTO `tbl_head` (`id`, `name`) VALUES (1, '\u0e2b\u0e31\u0e27\u0e02\u0e49\u0e2d\u0e01\u0e32\u0e23\u0e1b\u0e23\u0e30\u0e40\u0e21\u0e34\u0e19 \u0e14\u0e49\u0e32\u0e19\u0e17\u0e35\u0e48 1'), (2, '\u0e2b\u0e31\u0e27\u0e02\u0e49\u0e2d\u0e01\u0e32\u0e23\u0e1b\u0e23\u0e30\u0e40\u0e21\u0e34\u0e19 \u0e14\u0e49\u0e32\u0e19\u0e17\u0e35\u0e48\u2026","rel":"","context":"In &quot;Codeigniter&quot;","block_context":{"text":"Codeigniter","link":"https:\/\/devbanban.com\/?cat=164"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/devbanban.com\/wp-content\/uploads\/2020\/08\/queryinviewcover.jpg?fit=700%2C423&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/devbanban.com\/wp-content\/uploads\/2020\/08\/queryinviewcover.jpg?fit=700%2C423&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/devbanban.com\/wp-content\/uploads\/2020\/08\/queryinviewcover.jpg?fit=700%2C423&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/devbanban.com\/wp-content\/uploads\/2020\/08\/queryinviewcover.jpg?fit=700%2C423&ssl=1&resize=700%2C400 2x"},"classes":[]},{"id":3517,"url":"https:\/\/devbanban.com\/?p=3517","url_meta":{"origin":2183,"position":3},"title":"\u0e2d\u0e31\u0e1e\u0e42\u0e2b\u0e25\u0e14\u0e44\u0e1f\u0e25\u0e4c\u0e08\u0e32\u0e01 2 Input \u0e14\u0e49\u0e27\u0e22 CodeIgniter, How to upload two images into two fields using CodeIgniter","author":"devbanban","date":"11\/05\/2020","format":false,"excerpt":"\u0e15\u0e31\u0e27\u0e2d\u0e22\u0e48\u0e32\u0e07 code \u0e2d\u0e31\u0e1e\u0e42\u0e2b\u0e25\u0e14\u0e44\u0e1f\u0e25\u0e4c\u0e08\u0e32\u0e01 2 Input \u0e14\u0e49\u0e27\u0e22 CodeIgniter \u0e15\u0e31\u0e27\u0e2d\u0e22\u0e48\u0e32\u0e07 Code \u0e2d\u0e31\u0e1e\u0e42\u0e2b\u0e25\u0e14\u0e44\u0e1f\u0e25\u0e4c\u0e08\u0e32\u0e01 2 Input \u0e14\u0e49\u0e27\u0e22 CodeIgniter, How to upload two images into two fields using CodeIgniter table products CREATE TABLE `products` ( `id` int(5) NOT NULL, `p_img1` varchar(255) DEFAULT NULL, `p_img2` varchar(255) DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8; ALTER TABLE `products` ADD\u2026","rel":"","context":"In &quot;Codeigniter&quot;","block_context":{"text":"Codeigniter","link":"https:\/\/devbanban.com\/?cat=164"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/devbanban.com\/wp-content\/uploads\/2020\/05\/form_codeigniter-.png?fit=689%2C320&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/devbanban.com\/wp-content\/uploads\/2020\/05\/form_codeigniter-.png?fit=689%2C320&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/devbanban.com\/wp-content\/uploads\/2020\/05\/form_codeigniter-.png?fit=689%2C320&ssl=1&resize=525%2C300 1.5x"},"classes":[]},{"id":4672,"url":"https:\/\/devbanban.com\/?p=4672","url_meta":{"origin":2183,"position":4},"title":"\u0e2a\u0e2d\u0e19 SQL \u0e1f\u0e23\u0e35","author":"devbanban","date":"06\/09\/2022","format":false,"excerpt":"\u0e23\u0e27\u0e21\u0e04\u0e25\u0e34\u0e1b\u0e2a\u0e2d\u0e19\u0e08\u0e31\u0e14\u0e01\u0e32\u0e23\u0e10\u0e32\u0e19\u0e02\u0e49\u0e2d\u0e21\u0e39\u0e25 \u0e1a\u0e19 phpMyAdmin \u0e41\u0e25\u0e30\u0e20\u0e32\u0e29\u0e32 SQL\u00a0 \u0e1f\u0e23\u0e35\u0e46 \u0e1e\u0e23\u0e49\u0e2d\u0e21\u0e02\u0e49\u0e2d\u0e21\u0e39\u0e25\u0e15\u0e31\u0e27\u0e2d\u0e22\u0e48\u0e32\u0e07 \u0e40\u0e1e\u0e37\u0e48\u0e2d\u0e1b\u0e39\u0e17\u0e32\u0e07\u0e40\u0e1b\u0e47\u0e19\u0e19\u0e31\u0e01\u0e1a\u0e23\u0e34\u0e2b\u0e32\u0e23\u0e08\u0e31\u0e14\u0e01\u0e32\u0e23\u0e10\u0e32\u0e19\u0e02\u0e49\u0e2d\u0e21\u0e39\u0e25\u00a0 (Database Administrator : DBA) \u0e43\u0e19\u0e2d\u0e19\u0e32\u0e04\u0e15 \u0e23\u0e32\u0e22\u0e01\u0e32\u0e23\u0e23\u0e30\u0e1a\u0e1a\u0e1e\u0e23\u0e49\u0e2d\u0e21\u0e43\u0e0a\u0e49 : https:\/\/devbanban.com\/?p=4425 \u0e23\u0e32\u0e22\u0e01\u0e32\u0e23\u0e04\u0e2d\u0e23\u0e4c\u0e2a\u0e2d\u0e2d\u0e19\u0e44\u0e25\u0e19\u0e4c : https:\/\/devbanban.com\/?cat=250 \u0e23\u0e27\u0e21\u0e04\u0e25\u0e34\u0e1b\u0e2a\u0e2d\u0e19\u0e17\u0e31\u0e49\u0e07\u0e2b\u0e21\u0e14 https:\/\/www.youtube.com\/watch?v=2teEL4L-tho&list=PLEA4F1w-xYVZwacY1MphD6PFaOb80yy8- \u0e04\u0e25\u0e34\u0e1b\u0e2a\u0e2d\u0e19\u0e17\u0e31\u0e49\u0e07\u0e2b\u0e21\u0e14 \u0e04\u0e25\u0e34\u0e01 \u0e23\u0e27\u0e21 Workshop PHP PDO, MySQL, Bootstrap (\u0e21\u0e35 Code \u0e43\u0e2b\u0e49) : https:\/\/devbanban.com\/?cat=409 \u0e15\u0e32\u0e23\u0e32\u0e07\u0e02\u0e49\u0e2d\u0e21\u0e39\u0e25\u0e15\u0e31\u0e27\u0e2d\u0e22\u0e48\u0e32\u0e07 tbl_employee CREATE TABLE `tbl_employee` ( `no` int(11) NOT NULL, `firstname` varchar(100) NOT NULL, `name` varchar(100)\u2026","rel":"","context":"In &quot;SQL&quot;","block_context":{"text":"SQL","link":"https:\/\/devbanban.com\/?cat=200"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/devbanban.com\/wp-content\/uploads\/2022\/09\/cover-sql.jpg?fit=800%2C438&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/devbanban.com\/wp-content\/uploads\/2022\/09\/cover-sql.jpg?fit=800%2C438&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/devbanban.com\/wp-content\/uploads\/2022\/09\/cover-sql.jpg?fit=800%2C438&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/devbanban.com\/wp-content\/uploads\/2022\/09\/cover-sql.jpg?fit=800%2C438&ssl=1&resize=700%2C400 2x"},"classes":[]},{"id":2482,"url":"https:\/\/devbanban.com\/?p=2482","url_meta":{"origin":2183,"position":5},"title":"SQL: php+mysqli INNER JOIN 2 TABLE","author":"devbanban","date":"20\/06\/2018","format":false,"excerpt":"\u0e15\u0e22. \u0e01\u0e32\u0e23 join \u0e15\u0e32\u0e23\u0e32\u0e07 2 \u0e15\u0e32\u0e23\u0e32\u0e07 \u0e42\u0e14\u0e22\u0e43\u0e0a\u0e49 INNER JOIN \u0e40\u0e1e\u0e37\u0e48\u0e2d\u0e40\u0e17\u0e35\u0e22\u0e1a\u0e02\u0e49\u0e2d\u0e21\u0e39\u0e25\u0e17\u0e35\u0e48\u0e15\u0e23\u0e07\u0e01\u0e31\u0e19\u0e23\u0e30\u0e2b\u0e27\u0e48\u0e32\u0e07 2 \u0e15\u0e32\u0e23\u0e32\u0e07\u00a0 \"SQL: php+mysqli INNER JOIN 2 TABLE\" \u0e23\u0e27\u0e21\u0e04\u0e25\u0e34\u0e1b\u0e2a\u0e2d\u0e19 php+mysqli \u00a0 \u0e2a\u0e2d\u0e19 CodeIgniter \u0e2a\u0e2d\u0e19\u0e17\u0e33\u0e23\u0e30\u0e1a\u0e1a\u0e2b\u0e19\u0e31\u0e07\u0e2a\u0e37\u0e2d\u0e40\u0e27\u0e35\u0e22\u0e19\u0e2d\u0e2d\u0e19\u0e44\u0e25\u0e19\u0e4c \u00a0 \u0e2a\u0e2d\u0e19 CodeIgniter \u0e2a\u0e2d\u0e19\u0e17\u0e33\u0e23\u0e30\u0e1a\u0e1a\u0e22\u0e37\u0e21\u0e04\u0e37\u0e19\u0e04\u0e23\u0e38\u0e20\u0e31\u0e13\u0e11\u0e4c \u00a0 *\u0e04\u0e2d\u0e23\u0e4c\u0e2a\u0e2d\u0e2d\u0e19\u0e44\u0e25\u0e19\u0e4c\u0e23\u0e32\u0e04\u0e32\u0e16\u0e39\u0e01\u0e02\u0e2d\u0e07 devbanban.com \u0e04\u0e25\u0e34\u0e01 \u00a0 \u0e15\u0e22. \u0e43\u0e19 workshop \u0e19\u0e35\u0e49\u0e08\u0e30\u0e43\u0e0a\u0e49 2 \u0e15\u0e32\u0e23\u0e32\u0e07 \u0e04\u0e37\u0e2d tb_member \u0e2a\u0e33\u0e2b\u0e23\u0e31\u0e1a\u0e40\u0e01\u0e47\u0e1a\u0e02\u0e49\u0e2d\u0e21\u0e39\u0e25\u0e2a\u0e21\u0e32\u0e0a\u0e34\u0e01\/\u0e1a\u0e38\u0e04\u0e25\u0e32\u0e01\u0e23\u00a0 \u0e41\u0e25\u0e30 tb_position \u0e2a\u0e33\u0e2b\u0e23\u0e31\u0e1a\u0e40\u0e01\u0e47\u0e1a\u0e02\u0e49\u0e2d\u0e21\u0e39\u0e25\u0e15\u0e33\u0e41\u0e2b\u0e19\u0e48\u0e07\u00a0 \u00a0\u0e42\u0e14\u0e22 2 \u0e15\u0e32\u0e23\u0e32\u0e07\u0e08\u0e30\u0e21\u0e35\u0e1f\u0e34\u0e25\u0e14\u0e4c\u0e17\u0e35\u0e48\u0e21\u0e35\u0e04\u0e27\u0e32\u0e21\u0e2a\u0e31\u0e21\u0e1e\u0e31\u0e19\u0e18\u0e4c\u0e01\u0e31\u0e19\u0e2d\u0e22\u0e39\u0e48\u0e04\u0e37\u0e2d\u00a0 po_id \u0e41\u0e25\u0e30\u2026","rel":"","context":"In &quot;PHP&quot;","block_context":{"text":"PHP","link":"https:\/\/devbanban.com\/?cat=15"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/devbanban.com\/wp-content\/uploads\/2018\/06\/coversql.jpg?fit=500%2C375&ssl=1&resize=350%2C200","width":350,"height":200},"classes":[]}],"_links":{"self":[{"href":"https:\/\/devbanban.com\/index.php?rest_route=\/wp\/v2\/posts\/2183","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/devbanban.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/devbanban.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/devbanban.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/devbanban.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2183"}],"version-history":[{"count":3,"href":"https:\/\/devbanban.com\/index.php?rest_route=\/wp\/v2\/posts\/2183\/revisions"}],"predecessor-version":[{"id":2193,"href":"https:\/\/devbanban.com\/index.php?rest_route=\/wp\/v2\/posts\/2183\/revisions\/2193"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/devbanban.com\/index.php?rest_route=\/wp\/v2\/media\/2184"}],"wp:attachment":[{"href":"https:\/\/devbanban.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2183"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devbanban.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2183"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devbanban.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2183"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}