{"id":2306,"date":"2018-03-28T19:08:03","date_gmt":"2018-03-28T12:08:03","guid":{"rendered":"http:\/\/devbanban.com\/?p=2306"},"modified":"2018-03-28T19:10:09","modified_gmt":"2018-03-28T12:10:09","slug":"codeigniter-send-mail","status":"publish","type":"post","link":"https:\/\/devbanban.com\/?p=2306","title":{"rendered":"Codeigniter : Send Mail"},"content":{"rendered":"<p>Codeigniter : Easy Send Mail by Codeigniter\u00a0<!--more--><\/p>\n<p>autoload<\/p>\n<pre class=\"lang:default decode:true \">$autoload['libraries'] = array('session','database','form_validation','email');<\/pre>\n<pre class=\"lang:default decode:true \">$autoload['helper'] = array('html','url','menu','form','file');<\/pre>\n<p>controller<\/p>\n<p>email.php<\/p>\n<pre class=\"lang:default decode:true \">&lt;?php\r\ndefined('BASEPATH') OR exit('No direct script access allowed');\r\nclass email extends CI_Controller {\r\npublic function __construct()\r\n\t{\r\n\t\tparent::__construct();\r\n\t}\r\n\r\n\tpublic function index()\r\n\t{\r\n\t\t$this-&gt;load-&gt;view('form_mail');\t\t\r\n\t}\r\n\r\n\tpublic function send()\r\n\t{\r\n\t\t$mailto=$this-&gt;input-&gt;post('mailto');\r\n\t\t$mailsub=$this-&gt;input-&gt;post('mailsub');\r\n\t\t$mailmessage=$this-&gt;input-&gt;post('mailmessage');\r\n\r\n\t\t$this-&gt;email-&gt;from('devbanban@gmail.com');\r\n\t\t$this-&gt;email-&gt;to($mailto);\r\n\r\n\t\t$datese = date('d\/m\/Y');\r\n\r\n\t\t$this-&gt;email-&gt;subject('Subject : '.$mailsub);\r\n\t\t$this-&gt;email-&gt;message('Msg : '.$mailmessage.', date : '.$datese);  \/\/show Msg &amp; date send\r\n\r\n\t\tif($this-&gt;email-&gt;send()){\r\n\t\t\t$data['result']=\"Send mail OK\";\r\n\t\t\t$this-&gt;load-&gt;view('form_mail',$data);\r\n\t\t}else{\r\n\t\t\t$data['result']=\"Not Send\";\r\n\t\t\t$this-&gt;load-&gt;view('form_mail',$data);\r\n\t\t}\r\n\r\n\t}\r\n\r\n}<\/pre>\n<p>&nbsp;<\/p>\n<p>view\u00a0 form_mail.php<\/p>\n<pre class=\"lang:default decode:true \">&lt;!DOCTYPE html&gt;\r\n&lt;html&gt;\r\n&lt;head&gt;\r\n\t&lt;title&gt;Test send mail by codeginter&lt;\/title&gt;\r\n&lt;\/head&gt;\r\n&lt;body&gt;\r\n\t&lt;hr\/&gt;\r\n\t&lt;?php echo @$result;?&gt;\r\n\t&lt;hr\/&gt;\r\n\t&lt;form action=\"&lt;?php echo site_url('email\/send');?&gt;\" method=\"post\"&gt;\r\n\t\t&lt;h4&gt;::Mail Form::&lt;\/h4&gt;\r\n\t\tTo &lt;br \/&gt;\r\n\t\t&lt;input type=\"text\" name=\"mailto\"  required\/&gt;\r\n\t\t&lt;br \/&gt;\r\n\t\tSubject &lt;br \/&gt;\r\n\t\t&lt;input type=\"text\" name=\"mailsub\"  required \/&gt;\r\n\t\t&lt;br \/&gt;\r\n\t\tDetail &lt;br \/&gt;\r\n\t\t&lt;textarea name=\"mailmessage\" required&gt;&lt;\/textarea&gt;\r\n\t\t&lt;br \/&gt;\r\n\t\t&lt;button type=\"submit\"&gt;Send&lt;\/button&gt;\r\n\r\n\t&lt;\/form&gt;\r\n\r\n&lt;\/body&gt;\r\n&lt;\/html&gt;<\/pre>\n<p>&nbsp;<\/p>\n<p>Test on Server<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Codeigniter : Easy Send Mail by Codeigniter\u00a0<\/p>\n","protected":false},"author":1,"featured_media":2184,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[164],"tags":[165,177,28],"class_list":["post-2306","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-codeigniter","tag-codeigniter","tag-email","tag-html"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Codeigniter : Send Mail - \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=2306\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:title\" content=\"Codeigniter : Send Mail - \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=\"\u0e1e\u0e34\u0e28\u0e34\u0e29\u0e10\u0e4c \u0e1a\u0e27\u0e23\u0e40\u0e25\u0e34\u0e28\u0e2a\u0e38\u0e18\u0e35\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/devbanban.com\\\/?p=2306#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/devbanban.com\\\/?p=2306\"},\"author\":{\"name\":\"\u0e1e\u0e34\u0e28\u0e34\u0e29\u0e10\u0e4c \u0e1a\u0e27\u0e23\u0e40\u0e25\u0e34\u0e28\u0e2a\u0e38\u0e18\u0e35\",\"@id\":\"https:\\\/\\\/devbanban.com\\\/#\\\/schema\\\/person\\\/aa637e5a6aefe44e0dbfcac2b429fcc3\"},\"headline\":\"Codeigniter : Send Mail\",\"datePublished\":\"2018-03-28T12:08:03+00:00\",\"dateModified\":\"2018-03-28T12:10:09+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/devbanban.com\\\/?p=2306\"},\"wordCount\":24,\"image\":{\"@id\":\"https:\\\/\\\/devbanban.com\\\/?p=2306#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/i0.wp.com\\\/devbanban.com\\\/wp-content\\\/uploads\\\/2018\\\/01\\\/Data-cd.jpg?fit=960%2C720&ssl=1\",\"keywords\":[\"codeigniter\",\"email\",\"html\"],\"articleSection\":[\"Codeigniter\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/devbanban.com\\\/?p=2306\",\"url\":\"https:\\\/\\\/devbanban.com\\\/?p=2306\",\"name\":\"Codeigniter : Send Mail - \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=2306#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/devbanban.com\\\/?p=2306#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/i0.wp.com\\\/devbanban.com\\\/wp-content\\\/uploads\\\/2018\\\/01\\\/Data-cd.jpg?fit=960%2C720&ssl=1\",\"datePublished\":\"2018-03-28T12:08:03+00:00\",\"dateModified\":\"2018-03-28T12:10:09+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=2306#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/devbanban.com\\\/?p=2306\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/devbanban.com\\\/?p=2306#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=2306#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/devbanban.com\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Codeigniter : Send Mail\"}]},{\"@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\":\"\u0e1e\u0e34\u0e28\u0e34\u0e29\u0e10\u0e4c \u0e1a\u0e27\u0e23\u0e40\u0e25\u0e34\u0e28\u0e2a\u0e38\u0e18\u0e35\",\"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 : Send Mail - \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=2306","twitter_card":"summary_large_image","twitter_title":"Codeigniter : Send Mail - \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":"\u0e1e\u0e34\u0e28\u0e34\u0e29\u0e10\u0e4c \u0e1a\u0e27\u0e23\u0e40\u0e25\u0e34\u0e28\u0e2a\u0e38\u0e18\u0e35","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/devbanban.com\/?p=2306#article","isPartOf":{"@id":"https:\/\/devbanban.com\/?p=2306"},"author":{"name":"\u0e1e\u0e34\u0e28\u0e34\u0e29\u0e10\u0e4c \u0e1a\u0e27\u0e23\u0e40\u0e25\u0e34\u0e28\u0e2a\u0e38\u0e18\u0e35","@id":"https:\/\/devbanban.com\/#\/schema\/person\/aa637e5a6aefe44e0dbfcac2b429fcc3"},"headline":"Codeigniter : Send Mail","datePublished":"2018-03-28T12:08:03+00:00","dateModified":"2018-03-28T12:10:09+00:00","mainEntityOfPage":{"@id":"https:\/\/devbanban.com\/?p=2306"},"wordCount":24,"image":{"@id":"https:\/\/devbanban.com\/?p=2306#primaryimage"},"thumbnailUrl":"https:\/\/i0.wp.com\/devbanban.com\/wp-content\/uploads\/2018\/01\/Data-cd.jpg?fit=960%2C720&ssl=1","keywords":["codeigniter","email","html"],"articleSection":["Codeigniter"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/devbanban.com\/?p=2306","url":"https:\/\/devbanban.com\/?p=2306","name":"Codeigniter : Send Mail - \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=2306#primaryimage"},"image":{"@id":"https:\/\/devbanban.com\/?p=2306#primaryimage"},"thumbnailUrl":"https:\/\/i0.wp.com\/devbanban.com\/wp-content\/uploads\/2018\/01\/Data-cd.jpg?fit=960%2C720&ssl=1","datePublished":"2018-03-28T12:08:03+00:00","dateModified":"2018-03-28T12:10:09+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=2306#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/devbanban.com\/?p=2306"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/devbanban.com\/?p=2306#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=2306#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/devbanban.com\/"},{"@type":"ListItem","position":2,"name":"Codeigniter : Send Mail"}]},{"@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":"\u0e1e\u0e34\u0e28\u0e34\u0e29\u0e10\u0e4c \u0e1a\u0e27\u0e23\u0e40\u0e25\u0e34\u0e28\u0e2a\u0e38\u0e18\u0e35","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-Bc","jetpack-related-posts":[{"id":2859,"url":"https:\/\/devbanban.com\/?p=2859","url_meta":{"origin":2306,"position":0},"title":"Codeigniter : Check duplicate data with num_rows","author":"\u0e1e\u0e34\u0e28\u0e34\u0e29\u0e10\u0e4c \u0e1a\u0e27\u0e23\u0e40\u0e25\u0e34\u0e28\u0e2a\u0e38\u0e18\u0e35","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":2300,"url":"https:\/\/devbanban.com\/?p=2300","url_meta":{"origin":2306,"position":1},"title":"Codeigniter : Basic login","author":"\u0e1e\u0e34\u0e28\u0e34\u0e29\u0e10\u0e4c \u0e1a\u0e27\u0e23\u0e40\u0e25\u0e34\u0e28\u0e2a\u0e38\u0e18\u0e35","date":"20\/03\/2018","format":false,"excerpt":"Basic login, codeigniter\u00a0 autoload $autoload['libraries'] = array('database', 'session'); $autoload['helper'] = array('form','url'); controller\u00a0login.php <?php defined('BASEPATH') OR exit('No direct script access allowed'); class Login extends CI_Controller { public function __construct() { parent::__construct(); } public function check() { $emp_username=$this->input->post('emp_username'); $emp_password=$this->input->post('emp_password'); if($emp_username=='admin' && $emp_password=='admin'){ $data['result'] = \"Login Successfully\"; $this->load->view('loginok',$data); }else{ redirect('?act=F', 'refresh'); } }\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":2901,"url":"https:\/\/devbanban.com\/?p=2901","url_meta":{"origin":2306,"position":2},"title":"config codeigniter multiple language","author":"\u0e1e\u0e34\u0e28\u0e34\u0e29\u0e10\u0e4c \u0e1a\u0e27\u0e23\u0e40\u0e25\u0e34\u0e28\u0e2a\u0e38\u0e18\u0e35","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":2306,"position":3},"title":"Codeigniter : Basic login with database","author":"\u0e1e\u0e34\u0e28\u0e34\u0e29\u0e10\u0e4c \u0e1a\u0e27\u0e23\u0e40\u0e25\u0e34\u0e28\u0e2a\u0e38\u0e18\u0e35","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":2197,"url":"https:\/\/devbanban.com\/?p=2197","url_meta":{"origin":2306,"position":4},"title":"Codeigniter : Login, Check Login, Logout  Function","author":"\u0e1e\u0e34\u0e28\u0e34\u0e29\u0e10\u0e4c \u0e1a\u0e27\u0e23\u0e40\u0e25\u0e34\u0e28\u0e2a\u0e38\u0e18\u0e35","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":2264,"url":"https:\/\/devbanban.com\/?p=2264","url_meta":{"origin":2306,"position":5},"title":"Codeigniter : How to customizing config.php  &#038; autoload.php","author":"\u0e1e\u0e34\u0e28\u0e34\u0e29\u0e10\u0e4c \u0e1a\u0e27\u0e23\u0e40\u0e25\u0e34\u0e28\u0e2a\u0e38\u0e18\u0e35","date":"28\/01\/2018","format":false,"excerpt":"Codeigniter : How to customizing config.php and autoload for work. Basic to customizing config file from codeiginiter Ex. <?php defined('BASEPATH') OR exit('No direct script access allowed'); \/* |-------------------------------------------------------------------------- | Base Site URL |-------------------------------------------------------------------------- | | URL to your CodeIgniter root. Typically this will be your base URL, | WITH a\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":[]}],"_links":{"self":[{"href":"https:\/\/devbanban.com\/index.php?rest_route=\/wp\/v2\/posts\/2306","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=2306"}],"version-history":[{"count":2,"href":"https:\/\/devbanban.com\/index.php?rest_route=\/wp\/v2\/posts\/2306\/revisions"}],"predecessor-version":[{"id":2308,"href":"https:\/\/devbanban.com\/index.php?rest_route=\/wp\/v2\/posts\/2306\/revisions\/2308"}],"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=2306"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devbanban.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2306"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devbanban.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2306"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}