{"id":3966,"date":"2019-03-28T17:51:52","date_gmt":"2019-03-28T12:21:52","guid":{"rendered":"https:\/\/blog.pheonixsolutions.com\/?p=3966"},"modified":"2019-04-04T09:33:56","modified_gmt":"2019-04-04T04:03:56","slug":"validation-form-in-codeigniter-using-session-library","status":"publish","type":"post","link":"https:\/\/pheonixsolutions.com\/blog\/validation-form-in-codeigniter-using-session-library\/","title":{"rendered":"VALIDATION FORM IN CODEIGNITER USING SESSION LIBRARY"},"content":{"rendered":"\n<p><strong>VALIDATION FORM IN CODEIGNITER USING SESSION LIBRARY<\/strong><\/p>\n\n\n\n<p><strong>Date :28\/03\/2019<\/strong><\/p>\n\n\n\n<p><strong>Introduction:<\/strong><\/p>\n\n\n\n<p>The following tutorial implementing form validation using session library in codeigniter.<\/p>\n\n\n\n<p>First of all, we should create database and table. we can create database client  and we can create table form .<\/p>\n\n\n\n<p>To implement the form validation we  need to create four steps.<\/p>\n\n\n\n<p><strong>step1:<\/strong>  <\/p>\n\n\n\n<p>     We have to create the form in view and this is considered as our default form.  <\/p>\n\n\n\n<p>     In this form we are entering the data.Those data validated to the      following steps.<br> <\/p>\n\n\n\n<p>     we can save it as myform.php<strong>(application\/view\/myform.php).<\/strong><\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">&lt;html&gt;\n   &lt;head&gt;\n      &lt;title&gt;My Form&lt;\/title&gt;\n   &lt;\/head&gt;\n   &lt;body&gt;\n      &lt;!-- &lt;form action = \"\"&gt; --&gt;\n      &lt;?php echo form_open('Form\/index1'); ?&gt;  \n      &lt;h5&gt;firstname&lt;\/h5&gt;\n      &lt;input type = \"text\" name = \"firstname\" value=\"\"&gt;\n      &lt;h5&gt;gender&lt;\/h5&gt;\n      &lt;input type = \"text\" name = \"gender\" value=\"\"&gt;  \n      &lt;h5&gt;hobbies&lt;\/h5&gt;\n      &lt;input type = \"text\" name = \"hobbies\" value=\"\"&gt;\n      &lt;h5&gt;district&lt;\/h5&gt;\n      &lt;input type = \"text\" name = \"district\" value=\"\"&gt;\n      &lt;h5&gt;discription&lt;\/h5&gt;\n      &lt;input type = \"text\" name = \"discription\"  value=\"\"&gt;        \n      <div><\/div>\n      &lt;?php\n         echo form_close();\n         ?&gt;  \n   &lt;\/body&gt;\n&lt;\/html&gt;\n\n<\/pre>\n\n\n\n<p>The above code Create the simple form.<\/p>\n\n\n\n<p><strong>step2:<\/strong> <\/p>\n\n\n\n<p>     Then we create the controller page and check the validation in that    page.<\/p>\n\n\n\n<p>     Above data validated in this controller part. we can save it as Form.php<strong>(application\/controller\/Form.php).<\/strong><\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">&lt;?php\n   class Form extends CI_Controller { \n   \n      public function index() { \n         \n         #Used to load the form library\n         $this-&gt;load-&gt;helper(array('form', 'url'));\n   \n         #Used to load the session library\n         $this-&gt;load-&gt;library(\"session\");\n   \n         #Used to load the view library\n         $this-&gt;load-&gt;view('myform');\n         \n      }\n   public function index1()\n   {\n      \n      $this-&gt;load-&gt;library(\"session\");\n   \n      #used to load the form validation library\n      #the form validation library used to load the set_rules functions\n      $this-&gt;load-&gt;library('form_validation');\n   \n      \n      #the following functions check wheather entered details are write or wrong\n      $this-&gt;form_validation-&gt;set_rules('firstname', 'firstname', 'required');\n      $this-&gt;form_validation-&gt;set_rules('gender', 'gender', 'required');\n      $this-&gt;form_validation-&gt;set_rules('hobbies', 'hobbies', 'required');\n      $this-&gt;form_validation-&gt;set_rules('district', 'district', 'required');\n      $this-&gt;form_validation-&gt;set_rules('discription', 'discription', 'required');\n   \n   #the above validation is fail it enter into the following if condition\n   if ($this-&gt;form_validation-&gt;run() == FALSE) \n   {    \n        $postData = array(\n                'firstname' =&gt; $this-&gt;input-&gt;post('firstname'),\n                'gender' =&gt; $this-&gt;input-&gt;post('gender'),\n                  'hobbies' =&gt; $this-&gt;input-&gt;post('hobbies'),\n                    'district' =&gt; $this-&gt;input-&gt;post('district'),\n                      'discription' =&gt; $this-&gt;input-&gt;post('discription')\n                 );   \n      \n       echo json_encode($this-&gt;form_validation-&gt;error_array());  \n      $this-&gt;session-&gt;set_userdata($postData);\n      $this-&gt;load-&gt;view('myform1');\n       \n   } \n   \n   #the validation part is pass the else part is executed\n   else \n   {\n   \n   $this-&gt;load-&gt;model('Insert_model');\n          $postData = array(\n                'firstname' =&gt; $this-&gt;input-&gt;post('firstname'),\n                'gender' =&gt; $this-&gt;input-&gt;post('gender'),\n                  'hobbies' =&gt; $this-&gt;input-&gt;post('hobbies'),\n                    'district' =&gt; $this-&gt;input-&gt;post('district'),\n                      'discription' =&gt; $this-&gt;input-&gt;post('discription')\n                 );  \n         print_r($insert = $this-&gt;Insert_model-&gt;insert($postData)); \n          echo \"Data inserted successfully\";\n       }\n         }\n   \n   \n       \n   }\n   ?&gt; <\/pre>\n\n\n\n<p>The above code is validate our data.<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">     * $this-&gt;load-&gt;helper(array('form', 'url')); = Used to load the form library.\n\n     * $this-&gt;load-&gt;library(\"session\"); = Used to load the session library.\n\n     * $this-&gt;load-&gt;library('form_validation'); = Used to load the form validation library. <\/pre>\n\n\n\n<p><strong>step3:<\/strong><\/p>\n\n\n\n<p><\/p>\n\n\n\n<p> Again we create a another view page for reload the form.<\/p>\n\n\n\n<p> This form loaded when the given details is wrong and it shows error message we can save it as myform1.php<strong>(application\/view\/myform1.php).<\/strong><\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">&lt;html&gt;\n   &lt;head&gt;\n      &lt;title&gt;My Form&lt;\/title&gt;\n   &lt;\/head&gt;\n   &lt;body&gt;\n      &lt;!-- &lt;form action = \"\"&gt; --&gt;\n      &lt;?php echo form_open('Form\/index1'); ?&gt;  \n      &lt;h5&gt;firstname&lt;\/h5&gt;\n      &lt;input type = \"text\" name = \"firstname\" value=\"&lt;?php echo $this-&gt;session-&gt;userdata('firstname'); ?&gt;\"&gt;\n      &lt;h5&gt;gender&lt;\/h5&gt;\n      &lt;input type = \"text\" name = \"gender\" value=\"&lt;?php echo $this-&gt;session-&gt;userdata('gender'); ?&gt;\"&gt;  \n      &lt;h5&gt;hobbies&lt;\/h5&gt;\n      &lt;input type = \"text\" name = \"hobbies\" value=\"&lt;?php echo $this-&gt;session-&gt;userdata('hobbies'); ?&gt;\"&gt;\n      &lt;h5&gt;district&lt;\/h5&gt;\n      &lt;input type = \"text\" name = \"district\" value=\"&lt;?php echo $this-&gt;session-&gt;userdata('district'); ?&gt;\"&gt;\n      &lt;h5&gt;discription&lt;\/h5&gt;\n      &lt;input type = \"text\" name = \"discription\"  value=\"&lt;?php echo $this-&gt;session-&gt;userdata('discription'); ?&gt;\"&gt;        \n      <div><\/div>\n      &lt;?php\n         echo form_close();\n         ?&gt;  \n   &lt;\/body&gt;\n&lt;\/html&gt;\n<\/pre>\n\n\n\n<p>The above code create the another form.It contain our data.<\/p>\n\n\n\n<p><strong>Step4:<\/strong><\/p>\n\n\n\n<p>Here we have to create the mode form our database.<\/p>\n\n\n\n<p>We can save it as a Insertmodel.php <strong>(application\/model\/Insert_model.php).<\/strong> <\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">class Insert_model extends CI_Model \n{\n\tpublic function insert($data = array()) \n\t{\n        #here form is our table name\n        $insert = $this-&gt;db-&gt;insert('form', $data);\n    }\n}<\/pre>\n\n\n\n<p>The above code connect our form with database.<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>Finally The all above there steps completed form will displayed.<br> we can fill the form and click the submit.<\/li><li> If we missed any columns, It will display another form(myform1.php). The form containing our data along with error message.<\/li><li>Otherwise the data inserted into our database.Then it display success message like Data inserted successfully.<\/li><\/ul>\n\n\n\n<h2 class=\"wp-block-heading\"><\/h2>\n\n\n\n<p><strong>Conclusion:<\/strong><\/p>\n\n\n\n<p>The process continue untill we submit correct data.if we enter the correct <br>data it inserted into our database.and show success message. <\/p>\n\n\n\n<p>Thanks for using pheonixsolutions.<\/p>\n\n\n\n<p>You find this tutorial helpful? Share with your friends to keep it alive.<\/p>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>VALIDATION FORM IN CODEIGNITER USING SESSION LIBRARY Date :28\/03\/2019 Introduction: The following tutorial implementing form validation using session library in codeigniter. First of all, we should create database and table. we can create database client and we can create table form . To implement the form validation we need to&hellip; <a href=\"https:\/\/pheonixsolutions.com\/blog\/validation-form-in-codeigniter-using-session-library\/\" class=\"more-link read-more\" rel=\"bookmark\">Continue Reading <span class=\"screen-reader-text\">VALIDATION FORM IN CODEIGNITER USING SESSION LIBRARY<\/span><i class=\"fa fa-arrow-right\"><\/i><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[340,221],"tags":[341,599],"class_list":{"0":"post-3966","1":"post","2":"type-post","3":"status-publish","4":"format-standard","5":"hentry","6":"category-codeigniter","7":"category-php","8":"tag-codeigniter","9":"tag-form-validation","10":"h-entry","12":"h-as-article"},"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.3 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Pheonix Solutions - We Empower Your Business Growth<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/pheonixsolutions.com\/blog\/validation-form-in-codeigniter-using-session-library\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Pheonix Solutions - We Empower Your Business Growth\" \/>\n<meta property=\"og:description\" content=\"VALIDATION FORM IN CODEIGNITER USING SESSION LIBRARY Date :28\/03\/2019 Introduction: The following tutorial implementing form validation using session library in codeigniter. First of all, we should create database and table. we can create database client and we can create table form . To implement the form validation we need to&hellip; Continue Reading VALIDATION FORM IN CODEIGNITER USING SESSION LIBRARY\" \/>\n<meta property=\"og:url\" content=\"https:\/\/pheonixsolutions.com\/blog\/validation-form-in-codeigniter-using-session-library\/\" \/>\n<meta property=\"og:site_name\" content=\"PHEONIXSOLUTIONS\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/PheonixSolutions-209942982759387\/\" \/>\n<meta property=\"article:published_time\" content=\"2019-03-28T12:21:52+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2019-04-04T04:03:56+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/pheonixsolutions.com\/blog\/wp-content\/uploads\/2016\/09\/PX2.png\" \/>\n\t<meta property=\"og:image:width\" content=\"3837\" \/>\n\t<meta property=\"og:image:height\" content=\"2540\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@pheonixsolution\" \/>\n<meta name=\"twitter:site\" content=\"@pheonixsolution\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"5 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/validation-form-in-codeigniter-using-session-library\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/validation-form-in-codeigniter-using-session-library\\\/\"},\"author\":{\"name\":\"admin\",\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/#\\\/schema\\\/person\\\/0ffa33d73c869faec2d50e79c24e3503\"},\"headline\":\"VALIDATION FORM IN CODEIGNITER USING SESSION LIBRARY\",\"datePublished\":\"2019-03-28T12:21:52+00:00\",\"dateModified\":\"2019-04-04T04:03:56+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/validation-form-in-codeigniter-using-session-library\\\/\"},\"wordCount\":324,\"commentCount\":1,\"publisher\":{\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/#organization\"},\"keywords\":[\"codeigniter\",\"Form validation\"],\"articleSection\":[\"Codeigniter\",\"PHP\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/validation-form-in-codeigniter-using-session-library\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/validation-form-in-codeigniter-using-session-library\\\/\",\"url\":\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/validation-form-in-codeigniter-using-session-library\\\/\",\"name\":\"Pheonix Solutions - We Empower Your Business Growth\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/#website\"},\"datePublished\":\"2019-03-28T12:21:52+00:00\",\"dateModified\":\"2019-04-04T04:03:56+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/validation-form-in-codeigniter-using-session-library\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/validation-form-in-codeigniter-using-session-library\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/validation-form-in-codeigniter-using-session-library\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"VALIDATION FORM IN CODEIGNITER USING SESSION LIBRARY\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/\",\"name\":\"Pheonix Solutions\",\"description\":\"We Empower Your Business Growth\",\"publisher\":{\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/#organization\",\"name\":\"PheonixSolutions\",\"url\":\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/wp-content\\\/uploads\\\/2016\\\/12\\\/logo.png\",\"contentUrl\":\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/wp-content\\\/uploads\\\/2016\\\/12\\\/logo.png\",\"width\":454,\"height\":300,\"caption\":\"PheonixSolutions\"},\"image\":{\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/PheonixSolutions-209942982759387\\\/\",\"https:\\\/\\\/x.com\\\/pheonixsolution\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/#\\\/schema\\\/person\\\/0ffa33d73c869faec2d50e79c24e3503\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/09bacc0294abee1322a23ab4bc6a0330dd4cb4df707dc9d0b0efeba6c109608b?s=96&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/09bacc0294abee1322a23ab4bc6a0330dd4cb4df707dc9d0b0efeba6c109608b?s=96&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/09bacc0294abee1322a23ab4bc6a0330dd4cb4df707dc9d0b0efeba6c109608b?s=96&r=g\",\"caption\":\"admin\"},\"sameAs\":[\"http:\\\/\\\/blog.pheonixsolutions.com\"],\"url\":\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/author\\\/admin\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Pheonix Solutions - We Empower Your Business Growth","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:\/\/pheonixsolutions.com\/blog\/validation-form-in-codeigniter-using-session-library\/","og_locale":"en_US","og_type":"article","og_title":"Pheonix Solutions - We Empower Your Business Growth","og_description":"VALIDATION FORM IN CODEIGNITER USING SESSION LIBRARY Date :28\/03\/2019 Introduction: The following tutorial implementing form validation using session library in codeigniter. First of all, we should create database and table. we can create database client and we can create table form . To implement the form validation we need to&hellip; Continue Reading VALIDATION FORM IN CODEIGNITER USING SESSION LIBRARY","og_url":"https:\/\/pheonixsolutions.com\/blog\/validation-form-in-codeigniter-using-session-library\/","og_site_name":"PHEONIXSOLUTIONS","article_publisher":"https:\/\/www.facebook.com\/PheonixSolutions-209942982759387\/","article_published_time":"2019-03-28T12:21:52+00:00","article_modified_time":"2019-04-04T04:03:56+00:00","og_image":[{"width":3837,"height":2540,"url":"https:\/\/pheonixsolutions.com\/blog\/wp-content\/uploads\/2016\/09\/PX2.png","type":"image\/png"}],"author":"admin","twitter_card":"summary_large_image","twitter_creator":"@pheonixsolution","twitter_site":"@pheonixsolution","twitter_misc":{"Written by":"admin","Est. reading time":"5 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/pheonixsolutions.com\/blog\/validation-form-in-codeigniter-using-session-library\/#article","isPartOf":{"@id":"https:\/\/pheonixsolutions.com\/blog\/validation-form-in-codeigniter-using-session-library\/"},"author":{"name":"admin","@id":"https:\/\/pheonixsolutions.com\/blog\/#\/schema\/person\/0ffa33d73c869faec2d50e79c24e3503"},"headline":"VALIDATION FORM IN CODEIGNITER USING SESSION LIBRARY","datePublished":"2019-03-28T12:21:52+00:00","dateModified":"2019-04-04T04:03:56+00:00","mainEntityOfPage":{"@id":"https:\/\/pheonixsolutions.com\/blog\/validation-form-in-codeigniter-using-session-library\/"},"wordCount":324,"commentCount":1,"publisher":{"@id":"https:\/\/pheonixsolutions.com\/blog\/#organization"},"keywords":["codeigniter","Form validation"],"articleSection":["Codeigniter","PHP"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/pheonixsolutions.com\/blog\/validation-form-in-codeigniter-using-session-library\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/pheonixsolutions.com\/blog\/validation-form-in-codeigniter-using-session-library\/","url":"https:\/\/pheonixsolutions.com\/blog\/validation-form-in-codeigniter-using-session-library\/","name":"Pheonix Solutions - We Empower Your Business Growth","isPartOf":{"@id":"https:\/\/pheonixsolutions.com\/blog\/#website"},"datePublished":"2019-03-28T12:21:52+00:00","dateModified":"2019-04-04T04:03:56+00:00","breadcrumb":{"@id":"https:\/\/pheonixsolutions.com\/blog\/validation-form-in-codeigniter-using-session-library\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/pheonixsolutions.com\/blog\/validation-form-in-codeigniter-using-session-library\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/pheonixsolutions.com\/blog\/validation-form-in-codeigniter-using-session-library\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/pheonixsolutions.com\/blog\/"},{"@type":"ListItem","position":2,"name":"VALIDATION FORM IN CODEIGNITER USING SESSION LIBRARY"}]},{"@type":"WebSite","@id":"https:\/\/pheonixsolutions.com\/blog\/#website","url":"https:\/\/pheonixsolutions.com\/blog\/","name":"Pheonix Solutions","description":"We Empower Your Business Growth","publisher":{"@id":"https:\/\/pheonixsolutions.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/pheonixsolutions.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/pheonixsolutions.com\/blog\/#organization","name":"PheonixSolutions","url":"https:\/\/pheonixsolutions.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/pheonixsolutions.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/pheonixsolutions.com\/blog\/wp-content\/uploads\/2016\/12\/logo.png","contentUrl":"https:\/\/pheonixsolutions.com\/blog\/wp-content\/uploads\/2016\/12\/logo.png","width":454,"height":300,"caption":"PheonixSolutions"},"image":{"@id":"https:\/\/pheonixsolutions.com\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/PheonixSolutions-209942982759387\/","https:\/\/x.com\/pheonixsolution"]},{"@type":"Person","@id":"https:\/\/pheonixsolutions.com\/blog\/#\/schema\/person\/0ffa33d73c869faec2d50e79c24e3503","name":"admin","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/09bacc0294abee1322a23ab4bc6a0330dd4cb4df707dc9d0b0efeba6c109608b?s=96&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/09bacc0294abee1322a23ab4bc6a0330dd4cb4df707dc9d0b0efeba6c109608b?s=96&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/09bacc0294abee1322a23ab4bc6a0330dd4cb4df707dc9d0b0efeba6c109608b?s=96&r=g","caption":"admin"},"sameAs":["http:\/\/blog.pheonixsolutions.com"],"url":"https:\/\/pheonixsolutions.com\/blog\/author\/admin\/"}]}},"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/p7F4uM-11Y","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/posts\/3966","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/comments?post=3966"}],"version-history":[{"count":0,"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/posts\/3966\/revisions"}],"wp:attachment":[{"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/media?parent=3966"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/categories?post=3966"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/tags?post=3966"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}