{"id":2208,"date":"2018-01-03T12:19:35","date_gmt":"2018-01-03T05:19:35","guid":{"rendered":"http:\/\/devbanban.com\/?p=2208"},"modified":"2018-01-03T12:19:35","modified_gmt":"2018-01-03T05:19:35","slug":"codeigniter-call-option-selected-database","status":"publish","type":"post","link":"https:\/\/devbanban.com\/?p=2208","title":{"rendered":"Codeigniter : Call  Option Selected from  database"},"content":{"rendered":"<p>Codeigniter : Call Option Selected from database<!--more--><strong>Example\u00a0 tables<\/strong><\/p>\n<p>1 imgtype\u00a0 :\u00a0\u00a0imgtype_id (pk),\u00a0\u00a0imgtype_name (VACHAR)<\/p>\n<p><strong>controllers\u00a0 \u00a0prd.php<\/strong><\/p>\n<pre class=\"lang:default decode:true \">public function newdata()\r\n\t{\r\n\t\t$data['results'] = $this-&gt;Imgtype_model-&gt;fetch_imgtype(0,0,'');\r\n\t\t$this-&gt;load-&gt;view('template\/backheader');\r\n\t\t$this-&gt;load-&gt;view('prd\/newdata',$data);\r\n\t\t$this-&gt;load-&gt;view('template\/backfooter');\r\n\t}<\/pre>\n<p>&nbsp;<\/p>\n<p><strong>models\u00a0\u00a0Imgtype_model.php<\/strong><\/p>\n<pre class=\"lang:default decode:true \">&lt;?php\r\n\r\nclass Imgtype_model extends CI_Model\r\n{\r\n\r\n\tpublic $imgtype_name;\r\n\t\/\/public $description;\r\n\r\n\tpublic function __construct()\r\n\t{\r\n\t\tparent::__construct();\r\n\t}\r\n\r\n\tpublic function record_count($keyword)\r\n\t{\r\n\t\t$this-&gt;db-&gt;like('imgtype_name',$keyword);\r\n\t\t$this-&gt;db-&gt;from('imgtype');\r\n\t\treturn $this-&gt;db-&gt;count_all_results();\r\n\t}\r\n\r\n\tpublic function fetch_imgtype($limit, $start,$keryword)\r\n\t{\r\n\t\t$this-&gt;db-&gt;like('imgtype_name',$keryword);\r\n\t\t$this-&gt;db-&gt;limit($limit, $start);\r\n\t\t$query = $this-&gt;db-&gt;get('imgtype');\r\n\t\tif($query-&gt;num_rows() &gt; 0)\r\n\t\t{\r\n\t\t\tforeach($query-&gt;result() as $row)\r\n\t\t\t{\r\n\t\t\t\t$data[] = $row;\r\n\t\t\t}\r\n\t\t\treturn $data;\r\n\t\t}\r\n\t\treturn FALSE;\r\n\t}\r\n\r\n\tpublic function entry_imgtype($imgtype_id, $typeimg = '')\r\n\t{\r\n\t\t$data = array(\r\n\t\t\t'imgtype_name'=&gt; $this-&gt;input-&gt;post('imgtype_name'),\r\n\t\t\t'typeimg'     =&gt; $typeimg\r\n\t\t);\r\n\t\tif($imgtype_id == NULL)\r\n\t\t{\r\n\t\t\t$this-&gt;db-&gt;insert('imgtype', $arr);\r\n\t\t}\r\n\t\telse\r\n\t\t{\r\n\t\t\t$this-&gt;db-&gt;update('imgtype', $data, array('imgtype_id'=&gt; $imgtype_id));\r\n\t\t}\r\n\t}\r\n\tpublic function read_imgtype($imgtype_id){\r\n\t\t$this-&gt;db-&gt;where('imgtype_id',$imgtype_id);\r\n\t\t$query = $this-&gt;db-&gt;get('imgtype');\r\n\t\tif($query-&gt;num_rows() &gt; 0){\r\n\t\t\t$data = $query-&gt;row();\r\n\t\t\treturn $data;\r\n\t\t}\r\n\t\treturn FALSE;\r\n\t}\r\n\tpublic function remove_imgtype($imgtype_id){\r\n\t\t$this-&gt;db-&gt;delete('imgtype',array('imgtype_id'=&gt;$imgtype_id));\r\n\t}\r\n\r\n}\r\n<\/pre>\n<p>&nbsp;<\/p>\n<p>Views\u00a0 form insert<\/p>\n<pre class=\"lang:default decode:true\">&lt;select class=\"form-control\" name=\"imgtype_id\"&gt;\r\n\t&lt;option value=\"\"&gt;\u0e40\u0e25\u0e37\u0e2d\u0e01\u0e02\u0e49\u0e2d\u0e21\u0e39\u0e25&lt;\/option&gt;\r\n\t\t\t&lt;?php\r\n\t\t\tforeach($results as $result){?&gt;\r\n\t\t\t&lt;option value=\"&lt;?php echo $result-&gt;imgtype_id; ?&gt;\"&gt;\r\n\t\t\t&lt;?php echo $result-&gt;imgtype_name; ?&gt;\r\n\t\t\t&lt;\/option&gt;\r\n\t\t\t&lt;?php} ?&gt;\r\n&lt;\/select&gt;<\/pre>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Codeigniter : Call Option Selected from database<\/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-2208","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.1 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Codeigniter : Call Option Selected from 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=2208\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:title\" content=\"Codeigniter : Call Option Selected from 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=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/devbanban.com\\\/?p=2208#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/devbanban.com\\\/?p=2208\"},\"author\":{\"name\":\"devbanban\",\"@id\":\"https:\\\/\\\/devbanban.com\\\/#\\\/schema\\\/person\\\/aa637e5a6aefe44e0dbfcac2b429fcc3\"},\"headline\":\"Codeigniter : Call Option Selected from database\",\"datePublished\":\"2018-01-03T05:19:35+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/devbanban.com\\\/?p=2208\"},\"wordCount\":37,\"image\":{\"@id\":\"https:\\\/\\\/devbanban.com\\\/?p=2208#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=2208\",\"url\":\"https:\\\/\\\/devbanban.com\\\/?p=2208\",\"name\":\"Codeigniter : Call Option Selected from 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=2208#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/devbanban.com\\\/?p=2208#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/i0.wp.com\\\/devbanban.com\\\/wp-content\\\/uploads\\\/2018\\\/01\\\/Data-cd.jpg?fit=960%2C720&ssl=1\",\"datePublished\":\"2018-01-03T05:19:35+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=2208#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/devbanban.com\\\/?p=2208\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/devbanban.com\\\/?p=2208#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=2208#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/devbanban.com\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Codeigniter : Call Option Selected from 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 : Call Option Selected from 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=2208","twitter_card":"summary_large_image","twitter_title":"Codeigniter : Call Option Selected from 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":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/devbanban.com\/?p=2208#article","isPartOf":{"@id":"https:\/\/devbanban.com\/?p=2208"},"author":{"name":"devbanban","@id":"https:\/\/devbanban.com\/#\/schema\/person\/aa637e5a6aefe44e0dbfcac2b429fcc3"},"headline":"Codeigniter : Call Option Selected from database","datePublished":"2018-01-03T05:19:35+00:00","mainEntityOfPage":{"@id":"https:\/\/devbanban.com\/?p=2208"},"wordCount":37,"image":{"@id":"https:\/\/devbanban.com\/?p=2208#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=2208","url":"https:\/\/devbanban.com\/?p=2208","name":"Codeigniter : Call Option Selected from 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=2208#primaryimage"},"image":{"@id":"https:\/\/devbanban.com\/?p=2208#primaryimage"},"thumbnailUrl":"https:\/\/i0.wp.com\/devbanban.com\/wp-content\/uploads\/2018\/01\/Data-cd.jpg?fit=960%2C720&ssl=1","datePublished":"2018-01-03T05:19:35+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=2208#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/devbanban.com\/?p=2208"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/devbanban.com\/?p=2208#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=2208#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/devbanban.com\/"},{"@type":"ListItem","position":2,"name":"Codeigniter : Call Option Selected from 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-zC","jetpack-related-posts":[{"id":2197,"url":"https:\/\/devbanban.com\/?p=2197","url_meta":{"origin":2208,"position":0},"title":"Codeigniter : Login, Check Login, Logout  Function","author":"devbanban","date":"03\/01\/2018","format":false,"excerpt":"Codeigniter : Login, Check Login, Logout Function controllers\u00a0 login.php <?php defined('BASEPATH') OR exit('No direct script access allowed'); class User extends CI_Controller { public function __construct() { parent::__construct(); $this->load->model('User_model'); } public function login() { $this->load->view('user\/login'); } public function validlogin() { if($this->input->server('REQUEST_METHOD') == TRUE){ if($this->User_model->record_count($this->input->post('username'), $this->input->post('password')) == 1) { $result = $this->User_model->fetch_user_login($this->input->post('username'),\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":2192,"url":"https:\/\/devbanban.com\/?p=2192","url_meta":{"origin":2208,"position":1},"title":"Codeigniter : CRUD product and upload image","author":"devbanban","date":"03\/01\/2018","format":false,"excerpt":"Codeigniter : Insert product and upload image Controllers\u00a0 prd.php <?php defined('BASEPATH') OR exit('No direct script access allowed'); class prd extends CI_Controller { public function __construct() { parent::__construct(); $this->load->library('pagination'); \/\/$this->load->model('Imgtype_model'); $this->load->model('prd_model'); } public function index() { $config = array(); $config['base_url'] = base_url('imgtype\/index'); $config['total_rows'] = $this->prd_model->record_count($this->input->get('keyword')); $config['per_page'] = $this->input->get('keyword') == NULL ?\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":3642,"url":"https:\/\/devbanban.com\/?p=3642","url_meta":{"origin":2208,"position":2},"title":"\u0e41\u0e08\u0e01\u0e1f\u0e23\u0e35 \u0e23\u0e30\u0e1a\u0e1a\u0e41\u0e08\u0e49\u0e07\u0e0b\u0e48\u0e2d\u0e21\u0e2d\u0e2d\u0e19\u0e44\u0e25\u0e19\u0e4c, Helpdesk System (v0.8)","author":"devbanban","date":"20\/07\/2020","format":false,"excerpt":"\u0e41\u0e08\u0e01\u0e23\u0e30\u0e1a\u0e1a\u0e41\u0e08\u0e49\u0e07\u0e0b\u0e48\u0e2d\u0e21, Helpdesk System \u0e2a\u0e33\u0e2b\u0e23\u0e31\u0e1a\u0e28\u0e36\u0e01\u0e29\u0e32\u0e41\u0e25\u0e30\u0e1e\u0e31\u0e12\u0e19\u0e32\u0e15\u0e48\u0e2d\u0e22\u0e2d\u0e14 v0.8 Features -\u0e1e\u0e31\u0e12\u0e19\u0e32\u0e14\u0e49\u0e27\u0e22 CodeIgniter framework + Mysql + AdminLTE + Bootstrap4 \u0e40\u0e07\u0e37\u0e48\u0e2d\u0e19\u0e44\u0e02\u0e01\u0e32\u0e23\u0e41\u0e08\u0e01 -\u0e41\u0e08\u0e01 Source code \u0e43\u0e2b\u0e49\u0e44\u0e1b\u0e28\u0e36\u0e01\u0e29\u0e32\u0e41\u0e25\u0e30\u0e1e\u0e31\u0e12\u0e19\u0e32\u0e15\u0e48\u0e2d\u0e22\u0e2d\u0e14 \u0e41\u0e08\u0e01\u0e40\u0e1b\u0e47\u0e19\u0e40\u0e27\u0e2d\u0e23\u0e4c\u0e0a\u0e31\u0e48\u0e19 \u0e21\u0e35\u0e01\u0e32\u0e23\u0e2d\u0e31\u0e1e\u0e40\u0e14\u0e17\u0e40\u0e23\u0e37\u0e48\u0e2d\u0e22\u0e46 Release Date: July 22, 2020 Features updates Controllers \u2013 Update Jobs => function index : add call query status1-4 in data_model for count jobs by status, add function\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\/07\/helpdeskv0.8_devbanban.jpg?fit=960%2C540&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/devbanban.com\/wp-content\/uploads\/2020\/07\/helpdeskv0.8_devbanban.jpg?fit=960%2C540&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/devbanban.com\/wp-content\/uploads\/2020\/07\/helpdeskv0.8_devbanban.jpg?fit=960%2C540&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/devbanban.com\/wp-content\/uploads\/2020\/07\/helpdeskv0.8_devbanban.jpg?fit=960%2C540&ssl=1&resize=700%2C400 2x"},"classes":[]},{"id":2901,"url":"https:\/\/devbanban.com\/?p=2901","url_meta":{"origin":2208,"position":3},"title":"config codeigniter multiple language","author":"devbanban","date":"14\/03\/2019","format":false,"excerpt":"config codeigniter multiple language controller <?php defined('BASEPATH') OR exit('No direct script access allowed'); class Home extends CI_Controller { public function __construct() { parent::__construct(); check_lang(); $this->load->model('mail_model'); } public function index() { $data['mails'] = $this->mail_model->get_all_mail(); $data['language']=$this->session->userdata('language'); \/\/ echo '<pre>'; \/\/ print_r($data); \/\/ echo '<\/pre>'; $this->load->view('home_view2',$data); } } default_helper.php from folder helpers \u00a0\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\/05\/ci.png?fit=431%2C512&ssl=1&resize=350%2C200","width":350,"height":200},"classes":[]},{"id":2303,"url":"https:\/\/devbanban.com\/?p=2303","url_meta":{"origin":2208,"position":4},"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":3676,"url":"https:\/\/devbanban.com\/?p=3676","url_meta":{"origin":2208,"position":5},"title":"\u0e41\u0e08\u0e01\u0e1f\u0e23\u0e35 \u0e23\u0e30\u0e1a\u0e1a\u0e41\u0e08\u0e49\u0e07\u0e0b\u0e48\u0e2d\u0e21\u0e2d\u0e2d\u0e19\u0e44\u0e25\u0e19\u0e4c, Helpdesk System (v0.9)","author":"devbanban","date":"01\/08\/2020","format":false,"excerpt":"\u0e41\u0e08\u0e01\u0e23\u0e30\u0e1a\u0e1a\u0e41\u0e08\u0e49\u0e07\u0e0b\u0e48\u0e2d\u0e21, Helpdesk System \u0e2a\u0e33\u0e2b\u0e23\u0e31\u0e1a\u0e28\u0e36\u0e01\u0e29\u0e32\u0e41\u0e25\u0e30\u0e1e\u0e31\u0e12\u0e19\u0e32\u0e15\u0e48\u0e2d\u0e22\u0e2d\u0e14 v0.9 Features -\u0e1e\u0e31\u0e12\u0e19\u0e32\u0e14\u0e49\u0e27\u0e22 CodeIgniter framework + Mysql + AdminLTE + Bootstrap4 \u0e40\u0e07\u0e37\u0e48\u0e2d\u0e19\u0e44\u0e02\u0e01\u0e32\u0e23\u0e41\u0e08\u0e01 -\u0e41\u0e08\u0e01 Source code \u0e43\u0e2b\u0e49\u0e44\u0e1b\u0e28\u0e36\u0e01\u0e29\u0e32\u0e41\u0e25\u0e30\u0e1e\u0e31\u0e12\u0e19\u0e32\u0e15\u0e48\u0e2d\u0e22\u0e2d\u0e14 \u0e41\u0e08\u0e01\u0e40\u0e1b\u0e47\u0e19\u0e40\u0e27\u0e2d\u0e23\u0e4c\u0e0a\u0e31\u0e48\u0e19 \u0e21\u0e35\u0e01\u0e32\u0e23\u0e2d\u0e31\u0e1e\u0e40\u0e14\u0e17\u0e40\u0e23\u0e37\u0e48\u0e2d\u0e22\u0e46 Release Date: Aug 3, 2020 Features updates Controllers \u2013add controller Report => fuction index Models \u2013update data_model => add function countbycasetype, countbycasestatus Views \u2013add backend\/report_view -update template\/header 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\/08\/helpdesk09.jpg?fit=960%2C540&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/devbanban.com\/wp-content\/uploads\/2020\/08\/helpdesk09.jpg?fit=960%2C540&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/devbanban.com\/wp-content\/uploads\/2020\/08\/helpdesk09.jpg?fit=960%2C540&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/devbanban.com\/wp-content\/uploads\/2020\/08\/helpdesk09.jpg?fit=960%2C540&ssl=1&resize=700%2C400 2x"},"classes":[]}],"_links":{"self":[{"href":"https:\/\/devbanban.com\/index.php?rest_route=\/wp\/v2\/posts\/2208","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=2208"}],"version-history":[{"count":2,"href":"https:\/\/devbanban.com\/index.php?rest_route=\/wp\/v2\/posts\/2208\/revisions"}],"predecessor-version":[{"id":2210,"href":"https:\/\/devbanban.com\/index.php?rest_route=\/wp\/v2\/posts\/2208\/revisions\/2210"}],"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=2208"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devbanban.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2208"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devbanban.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2208"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}