<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:blogger='http://schemas.google.com/blogger/2008' xmlns:georss='http://www.georss.org/georss' xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-1905934111533627271</id><updated>2026-05-31T06:24:19.192+05:30</updated><category term="computer"/><category term="Commands"/><category term="CodeIngniter 4"/><category term="Javascript &amp; jQuery"/><category term="SQL SERVER PRACTICE-NOTES"/><category term="Laravel"/><category term="MERN"/><category term="Computer hardware architecture-कंप्यूटर हार्डवेयर संरचना"/><title type='text'>TECHNICALSTUDY</title><subtitle type='html'>The associate of technical study article for computer science students which could gain the knowledge about to technicals like Computer history, hard disk, printer,central processing unit etc.&#xa;Technicalstudy also considered software engineering, operating system and some chunks of programming languages.</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='https://technicalstudyon.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/1905934111533627271/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='https://technicalstudyon.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='next' type='application/atom+xml' href='https://www.blogger.com/feeds/1905934111533627271/posts/default?start-index=26&amp;max-results=25&amp;redirect=false'/><author><name>Technicalstudy</name><uri>http://www.blogger.com/profile/17694642546870276675</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>48</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-1905934111533627271.post-3054737239638192294</id><published>2025-10-02T08:45:00.000+05:30</published><updated>2025-10-02T08:45:30.414+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="SQL SERVER PRACTICE-NOTES"/><title type='text'>SQL SERVER_LEARN-4</title><content type='html'>&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;b&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;STUDY THIS STRICTILY STEP BY STEP WITH NEW DATABASE &#39;practiceone&#39;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;&lt;p&gt;=================================================================&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;/* OPERATION AND FILTERS - IN, WHERE, AND, BETWEEN,OR, DISTINCT,*/&lt;/b&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;exec sp_databases; /* Purpose: Lists all databases on the SQL Server instance. */&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;use practiceone;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;exec sp_tables;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;select * from students;&lt;/p&gt;&lt;p&gt;insert into students values(&#39;8&#39;,&#39;rohan Prajapti&#39;,&#39;java&#39;,&#39;UP&#39;,&#39;24214&#39;,&#39;1&#39;);&lt;/p&gt;&lt;p&gt;select * from students where id in(1,2,4,6); /* IN operator is used to execute multiple value in where clause*/&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;select * from students where id &amp;lt;= 4;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;select * from students where id &amp;lt;=4 AND id &amp;gt;=3;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;select * from students where id BETWEEN 2 AND 6;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Select * from students where id = 3 OR id =5;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;select * from students where id &amp;gt;=1 order by name ASC;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Select distinct course from students;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Select distinct name from students;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;select distinct name from students where course=&#39;java&#39;;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;select distinct name from students where course IN (select distinct course from students);&lt;/p&gt;&lt;p&gt;/*Above with respective course related students name and list*/&lt;/p&gt;&lt;p&gt;select * from students;&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='https://technicalstudyon.blogspot.com/feeds/3054737239638192294/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://technicalstudyon.blogspot.com/2025/10/sql-serverlearn-4.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/1905934111533627271/posts/default/3054737239638192294'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/1905934111533627271/posts/default/3054737239638192294'/><link rel='alternate' type='text/html' href='https://technicalstudyon.blogspot.com/2025/10/sql-serverlearn-4.html' title='SQL SERVER_LEARN-4'/><author><name>Technicalstudy</name><uri>http://www.blogger.com/profile/17694642546870276675</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1905934111533627271.post-5192859727145401569</id><published>2025-10-02T08:42:00.003+05:30</published><updated>2025-10-02T08:42:36.569+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="SQL SERVER PRACTICE-NOTES"/><title type='text'>SQL SERVER_LEARN-3</title><content type='html'>&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;STUDY THIS STRICTILY STEP BY STEP WITH NEW DATABASE &#39;practiceone&#39;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;&lt;p&gt;============================================================&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;use practiceone; /*database name*/&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;select * from students;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;delete from students where name =&#39;Dev&#39;;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;select * from students;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;exec sp_help &#39;students&#39;;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;alter table students&lt;/p&gt;&lt;p&gt;add UNIQUE(id);&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;alter table students&lt;/p&gt;&lt;p&gt;add constraint PK_student primary key (id);&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;create index search on students(name, course,address);&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;select * from students with(index(search)) where name=&#39;prinsi&#39;;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;update students set name=&#39;prensi&#39; where fees=29000;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;create table teachers(&lt;/p&gt;&lt;p&gt;id int not null identity,&lt;/p&gt;&lt;p&gt;name varchar(225) not null,&lt;/p&gt;&lt;p&gt;mastering_in varchar(255) not null&lt;/p&gt;&lt;p&gt;);&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;exec sp_help &#39;teachers&#39;;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;insert into teachers values(&#39;Hari Krisha sir&#39;, &#39;Java&#39;);&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;select * from teachers;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;/* Add foreign key in students*/&lt;/p&gt;&lt;p&gt;alter table students&lt;/p&gt;&lt;p&gt;ADD teach_id int ;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;alter table teachers /* Add primary key in students*/&lt;/p&gt;&lt;p&gt;add constraint PK_teachers primary key (id);&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;alter table students&lt;/p&gt;&lt;p&gt;add constraint FK_students_teach&lt;/p&gt;&lt;p&gt;foreign key (teach_id) references teachers(id);&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;alter table students /* Add Default Value in students*/&lt;/p&gt;&lt;p&gt;add constraint DF_students_teach_id default &#39;1&#39; for teach_id;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;insert into students(id, name, course, address, fees) values(&#39;7&#39;,&#39;Harish&#39;, &#39;Java&#39;,&#39;UP&#39;,&#39;61000&#39;);&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;select * from students;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;update students set teach_id = &#39;1&#39; where teach_id IS NULL;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='https://technicalstudyon.blogspot.com/feeds/5192859727145401569/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://technicalstudyon.blogspot.com/2025/10/sql-serverlearn-3.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/1905934111533627271/posts/default/5192859727145401569'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/1905934111533627271/posts/default/5192859727145401569'/><link rel='alternate' type='text/html' href='https://technicalstudyon.blogspot.com/2025/10/sql-serverlearn-3.html' title='SQL SERVER_LEARN-3'/><author><name>Technicalstudy</name><uri>http://www.blogger.com/profile/17694642546870276675</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1905934111533627271.post-3308295215789442961</id><published>2025-10-02T08:40:00.007+05:30</published><updated>2025-10-02T08:40:41.310+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="SQL SERVER PRACTICE-NOTES"/><title type='text'>SQL SERVER_LEARN-2</title><content type='html'>&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;&lt;b&gt;STUDY THIS STRICTLY STEP BY STEP&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;&lt;p&gt;===================================================&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;1 - use nareshitdb;&lt;/p&gt;&lt;p&gt;2 - sp_helpdb; /* show databases*/&lt;/p&gt;&lt;p&gt;3- create table studBatch01(&lt;/p&gt;&lt;p&gt;id int,&lt;/p&gt;&lt;p&gt;name varchar(255),&lt;/p&gt;&lt;p&gt;course varchar(255),&lt;/p&gt;&lt;p&gt;address varchar(255),&lt;/p&gt;&lt;p&gt;fees int&amp;nbsp;&lt;/p&gt;&lt;p&gt;);&lt;/p&gt;&lt;p&gt;4 - select * from INFORMATION_SCHEMA.TABLES; /*USE FOR SHOW TABLES*/&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;5 - exec sp_help &#39;students&#39;; /* use for show table structures*/&lt;/p&gt;&lt;p&gt;6 - insert into studBatch01 values(5, &#39;Akash kumar&#39;,&#39;Spring Boot&#39;, &#39;Varanasi&#39;,&#39;15000&#39;);&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;7 - select * from studBatch01;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;8 - update studBatch01 set name =&#39;Prince&#39; where course =&#39;c# language&#39;;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;9 - alter table studBatch01&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; alter column id int not null;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;10 - alter table studBatch01&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;alter column name varchar(225) not null;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;11 - alter table studBatch01&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;alter column course varchar(225) not null;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;12 - alter table studBatch01&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; alter column address varchar(225) not null;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;13 - alter table studBatch01&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; alter column fees int not null;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;14 - alter table studBatch01&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; add CONSTRAINT UK_studBatch01 unique (id);&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;15 - alter table studBatch01&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; add CONSTRAINT PK_studBatch01 PRIMARY KEY (id);&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;16 - exec sp_rename &#39;studBatch01&#39;, &#39;Studentone&#39;;&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; /*change the table names or Rename tables*/&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;17 - select * from information_schema.tables;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;18 -&amp;nbsp; exec sp_rename &#39;studentone&#39;, &#39;studBatch01&#39;;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='https://technicalstudyon.blogspot.com/feeds/3308295215789442961/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://technicalstudyon.blogspot.com/2025/10/sql-serverlearn-2.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/1905934111533627271/posts/default/3308295215789442961'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/1905934111533627271/posts/default/3308295215789442961'/><link rel='alternate' type='text/html' href='https://technicalstudyon.blogspot.com/2025/10/sql-serverlearn-2.html' title='SQL SERVER_LEARN-2'/><author><name>Technicalstudy</name><uri>http://www.blogger.com/profile/17694642546870276675</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1905934111533627271.post-1147586503147090771</id><published>2025-10-02T08:36:00.003+05:30</published><updated>2025-10-02T08:36:52.045+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="SQL SERVER PRACTICE-NOTES"/><title type='text'>SQLQUERY_LEARN-1</title><content type='html'>&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;&amp;nbsp; &amp;nbsp;STUDY THIS STRICTILY STEP BY STEP&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;====================================================================&lt;/b&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;1 - use nareshitdb;&lt;/p&gt;&lt;p&gt;2- sp_helpdb; /* Purpose: Provides detailed information about databases on the SQL Server instance.&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; show databases*/&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;3 - select * from INFORMATION_SCHEMA.TABLES;&lt;/p&gt;&lt;p&gt;/*check the database and their tables*/&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;4 - exec sp_help &#39;students&#39;; /* use for show table structures*/&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;5 - select * from students;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;6 - alter table students&lt;/p&gt;&lt;p&gt;alter column name varchar(255) not null&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;7 - alter table students&lt;/p&gt;&lt;p&gt;add fees int&amp;nbsp; null default 0;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;8 - alter table students&lt;/p&gt;&lt;p&gt;alter column course varchar(255) not null;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;9 - alter table students&lt;/p&gt;&lt;p&gt;alter column address varchar(255) not null;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;10 - alter table students&lt;/p&gt;&lt;p&gt;add UNIQUE (id);&lt;/p&gt;&lt;p&gt;/*alter table studBatch01&lt;/p&gt;&lt;p&gt;add CONSTRAINT UK_studBatch01 unique (id); */&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;11 - insert into students values(&#39;5&#39;, &#39;abhinav&#39;, &#39;Java fullstack&#39;,&#39;Madhya Pradesh&#39;);&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;12 - alter table students&lt;/p&gt;&lt;p&gt;add primary key (id);&lt;/p&gt;&lt;p&gt;/*alter table studBatch01&lt;/p&gt;&lt;p&gt;add CONSTRAINT PK_studBatch01 PRIMARY KEY (id); */&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;13 - exec sp_rename &#39;studBatch01&#39;, &#39;Studentone&#39;;&lt;/p&gt;&lt;p&gt;/*change the table names or Rename tables : exec -&amp;gt; EXCUTE and sp_remane-&amp;gt; stored procedure*/&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;14 - select * from information_schema.tables;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;15 - exec sp_rename &#39;studentone&#39;, &#39;studBatch01&#39;;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='https://technicalstudyon.blogspot.com/feeds/1147586503147090771/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://technicalstudyon.blogspot.com/2025/10/sqlquerylearn-1.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/1905934111533627271/posts/default/1147586503147090771'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/1905934111533627271/posts/default/1147586503147090771'/><link rel='alternate' type='text/html' href='https://technicalstudyon.blogspot.com/2025/10/sqlquerylearn-1.html' title='SQLQUERY_LEARN-1'/><author><name>Technicalstudy</name><uri>http://www.blogger.com/profile/17694642546870276675</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1905934111533627271.post-4901601429495284897</id><published>2024-12-10T19:28:00.003+05:30</published><updated>2024-12-10T19:47:35.538+05:30</updated><title type='text'>Installation of PHP language in Windows 10</title><content type='html'>&lt;p&gt;&amp;nbsp;1- Download to xampp server and INSTALL.&lt;br /&gt;&lt;br /&gt;2 - After Installation of xampp Server Start to APACHE&amp;nbsp; and Mysql&lt;br /&gt;&lt;br /&gt;3-&amp;nbsp; Go to Directory&amp;nbsp;&lt;b&gt;C:\xampp\php &lt;/b&gt;and Copy this this same url&amp;nbsp;&lt;/p&gt;&lt;p&gt;4 - Go to &lt;b&gt;Edit the System environment Variables&lt;/b&gt;&amp;nbsp;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;click on Environment Variables -&amp;gt; Uservariable for Username like (shubh)&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; Edit to &lt;b&gt;Path&lt;/b&gt; and past&amp;nbsp;&lt;b&gt;C:\xampp\php&amp;nbsp; &lt;/b&gt;in variable value. and save all.&lt;br /&gt;&lt;br /&gt;5- now open terminal and check php version by &lt;b&gt;php --version &lt;/b&gt;and get output of php version.&lt;br /&gt;&lt;br /&gt;thanks&lt;br /&gt;&lt;br /&gt;&amp;nbsp;================MYSQL configuration ==========&lt;br /&gt;&lt;br /&gt;1- if&amp;nbsp; &quot;mysql --version&quot; showing error on terminal for above step for this&amp;nbsp;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;&amp;nbsp;&lt;/b&gt;&amp;nbsp;&amp;nbsp;&lt;br /&gt;&amp;nbsp;2 -click on Environment Variables -&amp;gt; &lt;b&gt;System variables&lt;/b&gt;&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; Edit to&amp;nbsp;&lt;b&gt;Path&lt;/b&gt;&amp;nbsp;and past&amp;nbsp;&lt;b&gt;C:\xampp\mysql\bin&lt;/b&gt;&lt;b&gt;&amp;nbsp;&amp;nbsp;&lt;/b&gt;in variable value. and save all.&lt;/p&gt;&lt;p&gt;3- Now check&amp;nbsp; &lt;b&gt;&quot;mysql --version&quot;&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='https://technicalstudyon.blogspot.com/feeds/4901601429495284897/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://technicalstudyon.blogspot.com/2024/12/installation-of-php-language-in-windows.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/1905934111533627271/posts/default/4901601429495284897'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/1905934111533627271/posts/default/4901601429495284897'/><link rel='alternate' type='text/html' href='https://technicalstudyon.blogspot.com/2024/12/installation-of-php-language-in-windows.html' title='Installation of PHP language in Windows 10'/><author><name>Technicalstudy</name><uri>http://www.blogger.com/profile/17694642546870276675</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1905934111533627271.post-5767948648900804209</id><published>2023-12-23T13:14:00.005+05:30</published><updated>2023-12-23T13:26:48.886+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="Commands"/><title type='text'>You have not concluded your merge (MERGE_HEAD exists) Issues</title><content type='html'>&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;b&gt;..../$:bshubh@laravel MINGW6 /c/xampp/htdocs/xyzproject (shubham|MERGING)&amp;nbsp; &lt;/b&gt;&amp;nbsp;issues&lt;/p&gt;&lt;p&gt;1- Undo the merge and pull again.&lt;/p&gt;&lt;p&gt;To undo a merge:&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;git merge --abort [Since git version 1.7.4]&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;git reset --merge [prior git versions]&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;2- Resolve the conflict.&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;3- &lt;b&gt;Don&#39;t forget to add and commit the merge.&lt;/b&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;git pull now should work fine.&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='https://technicalstudyon.blogspot.com/feeds/5767948648900804209/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://technicalstudyon.blogspot.com/2023/12/you-have-not-concluded-your-merge.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/1905934111533627271/posts/default/5767948648900804209'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/1905934111533627271/posts/default/5767948648900804209'/><link rel='alternate' type='text/html' href='https://technicalstudyon.blogspot.com/2023/12/you-have-not-concluded-your-merge.html' title='You have not concluded your merge (MERGE_HEAD exists) Issues'/><author><name>Technicalstudy</name><uri>http://www.blogger.com/profile/17694642546870276675</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1905934111533627271.post-8705433965442388619</id><published>2023-11-29T22:31:00.004+05:30</published><updated>2023-11-29T22:31:23.053+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="Commands"/><category scheme="http://www.blogger.com/atom/ns#" term="MERN"/><title type='text'>How to Upgrade Node Js version </title><content type='html'>&lt;p&gt;&lt;b&gt;&amp;nbsp;How to Upgrade Node Js version :&lt;/b&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;1- &lt;/b&gt;First install nvm - node version manager&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;2- ....../$: nvm list-remote&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;strong style=&quot;color: #42464b; font-family: Roboto, &amp;quot;Helvetica Neue&amp;quot;, Verdana, Arial, sans-serif; margin-top: 0px;&quot;&gt;nvm use &amp;lt;version&amp;gt;&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;3-....../$: nvm install 14.19.01&amp;nbsp;&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='https://technicalstudyon.blogspot.com/feeds/8705433965442388619/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://technicalstudyon.blogspot.com/2023/11/how-to-upgrade-node-js-version.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/1905934111533627271/posts/default/8705433965442388619'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/1905934111533627271/posts/default/8705433965442388619'/><link rel='alternate' type='text/html' href='https://technicalstudyon.blogspot.com/2023/11/how-to-upgrade-node-js-version.html' title='How to Upgrade Node Js version '/><author><name>Technicalstudy</name><uri>http://www.blogger.com/profile/17694642546870276675</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1905934111533627271.post-5325846048170005240</id><published>2023-11-29T10:59:00.001+05:30</published><updated>2023-11-29T10:59:03.569+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="Commands"/><title type='text'>How  fixed TriggeredBy: x snapd.socket Issue On  Linux Ubuntu</title><content type='html'>&lt;p&gt;&lt;b&gt;&amp;nbsp;How&amp;nbsp; fixed TriggeredBy: x snapd.socket&amp;nbsp; :&lt;/b&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;.../$:&amp;nbsp;systemctl enable --now snapd.socket&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='https://technicalstudyon.blogspot.com/feeds/5325846048170005240/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://technicalstudyon.blogspot.com/2023/11/how-fixed-triggeredby-x-snapdsocket.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/1905934111533627271/posts/default/5325846048170005240'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/1905934111533627271/posts/default/5325846048170005240'/><link rel='alternate' type='text/html' href='https://technicalstudyon.blogspot.com/2023/11/how-fixed-triggeredby-x-snapdsocket.html' title='How  fixed TriggeredBy: x snapd.socket Issue On  Linux Ubuntu'/><author><name>Technicalstudy</name><uri>http://www.blogger.com/profile/17694642546870276675</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1905934111533627271.post-5442024100217570681</id><published>2023-11-28T09:19:00.006+05:30</published><updated>2023-11-28T09:19:56.040+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="Commands"/><title type='text'>How to Merge Code one Branch to Another Branch</title><content type='html'>&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;How to Merge Code Branch_one and Branch_two:&lt;/p&gt;&lt;p&gt;1- ...../$: git yourBranchName&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;2- ..../$: git merge SecondChangesCodeBranch_name&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='https://technicalstudyon.blogspot.com/feeds/5442024100217570681/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://technicalstudyon.blogspot.com/2023/11/how-to-merge-code-one-branch-to-another.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/1905934111533627271/posts/default/5442024100217570681'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/1905934111533627271/posts/default/5442024100217570681'/><link rel='alternate' type='text/html' href='https://technicalstudyon.blogspot.com/2023/11/how-to-merge-code-one-branch-to-another.html' title='How to Merge Code one Branch to Another Branch'/><author><name>Technicalstudy</name><uri>http://www.blogger.com/profile/17694642546870276675</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1905934111533627271.post-764699002950190815</id><published>2023-11-16T11:51:00.000+05:30</published><updated>2023-11-16T11:51:00.373+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="Javascript &amp; jQuery"/><title type='text'>Check Datatype of Variable</title><content type='html'>&lt;p&gt;How to find Last value/id of Table&#39;s row In Jquery:&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;!--StartFragment--&gt;&lt;div style=&quot;background-color: #1f1f1f; color: #cccccc; font-family: Consolas, &amp;quot;Courier New&amp;quot;, monospace; font-size: 14px; line-height: 19px; white-space: pre;&quot;&gt;&lt;div&gt;&lt;span style=&quot;color: #d4d4d4;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;var&lt;/span&gt;&lt;span style=&quot;color: #d4d4d4;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #9cdcfe;&quot;&gt;lsts&lt;/span&gt;&lt;span style=&quot;color: #d4d4d4;&quot;&gt; = &lt;/span&gt;&lt;span style=&quot;color: #dcdcaa;&quot;&gt;$&lt;/span&gt;&lt;span style=&quot;color: #d4d4d4;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;#vendor_items_table1 tr:last td label&#39;&lt;/span&gt;&lt;span style=&quot;color: #d4d4d4;&quot;&gt;).&lt;/span&gt;&lt;span style=&quot;color: #dcdcaa;&quot;&gt;attr&lt;/span&gt;&lt;span style=&quot;color: #d4d4d4;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;id&#39;&lt;/span&gt;&lt;span style=&quot;color: #d4d4d4;&quot;&gt;);&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #d4d4d4;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span style=&quot;color: #dcdcaa;&quot;&gt;alert&lt;/span&gt;&lt;span style=&quot;color: #d4d4d4;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;typeof&lt;/span&gt;&lt;span style=&quot;color: #d4d4d4;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #9cdcfe;&quot;&gt;lsts&lt;/span&gt;&lt;span style=&quot;color: #d4d4d4;&quot;&gt;))&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;!--EndFragment--&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='https://technicalstudyon.blogspot.com/feeds/764699002950190815/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://technicalstudyon.blogspot.com/2023/11/check-datatype-of-variable.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/1905934111533627271/posts/default/764699002950190815'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/1905934111533627271/posts/default/764699002950190815'/><link rel='alternate' type='text/html' href='https://technicalstudyon.blogspot.com/2023/11/check-datatype-of-variable.html' title='Check Datatype of Variable'/><author><name>Technicalstudy</name><uri>http://www.blogger.com/profile/17694642546870276675</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1905934111533627271.post-178959300755328418</id><published>2023-11-02T19:34:00.006+05:30</published><updated>2023-11-28T09:17:06.449+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="Commands"/><category scheme="http://www.blogger.com/atom/ns#" term="computer"/><title type='text'>How to Revert unnecessary Commit from Remote Branch </title><content type='html'>&lt;p&gt;&lt;b&gt;&amp;nbsp;If you have push unnecessary code accidentally so how to Revert code changes of last Commit&lt;/b&gt;.&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;1- Switch to your project Directory&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;2- .../$: git log&amp;nbsp;&lt;/p&gt;&lt;p&gt;By this command commits log list show and copy to last unnecessary Commit id&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;3- .../$: git revert past_CommitId_here&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;-&amp;gt; After that simple use bellow command&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;4- .../$: git push&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;And check you repository for fixed changes&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;5- how to be exit after git log command:&lt;/p&gt;&lt;p&gt;&amp;nbsp;.../$:q+Enter &amp;lt;---&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='https://technicalstudyon.blogspot.com/feeds/178959300755328418/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://technicalstudyon.blogspot.com/2023/11/how-to-revert-unnecessary-commit-from.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/1905934111533627271/posts/default/178959300755328418'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/1905934111533627271/posts/default/178959300755328418'/><link rel='alternate' type='text/html' href='https://technicalstudyon.blogspot.com/2023/11/how-to-revert-unnecessary-commit-from.html' title='How to Revert unnecessary Commit from Remote Branch '/><author><name>Technicalstudy</name><uri>http://www.blogger.com/profile/17694642546870276675</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1905934111533627271.post-197417379139217847</id><published>2023-11-02T11:18:00.005+05:30</published><updated>2023-11-02T18:34:53.028+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="Commands"/><category scheme="http://www.blogger.com/atom/ns#" term="computer"/><title type='text'>How to add file in GitHub Repository </title><content type='html'>&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;1-.../$:&amp;nbsp; git init&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;=&amp;gt;&quot; Add . &quot; command add to all folder if file is not ignore by .ignore file&amp;nbsp;&lt;/p&gt;&lt;p&gt;2- .../$:&amp;nbsp;git add .&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;3-&amp;nbsp; .../$:&amp;nbsp;git&amp;nbsp;commit -m &quot;message&quot;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;.../$: git add remote origin repositoryName&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;4- git push -u origin branchName&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;5- how to create new branch :&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;.../$: git branch NewBranchName&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;6- How to switch in new branch:&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;.../$: git checkout NewBranchName&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='https://technicalstudyon.blogspot.com/feeds/197417379139217847/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://technicalstudyon.blogspot.com/2023/11/howvto-add-file-in-github-repository.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/1905934111533627271/posts/default/197417379139217847'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/1905934111533627271/posts/default/197417379139217847'/><link rel='alternate' type='text/html' href='https://technicalstudyon.blogspot.com/2023/11/howvto-add-file-in-github-repository.html' title='How to add file in GitHub Repository '/><author><name>Technicalstudy</name><uri>http://www.blogger.com/profile/17694642546870276675</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1905934111533627271.post-5962569140674392114</id><published>2023-11-02T10:52:00.009+05:30</published><updated>2023-11-02T11:12:48.777+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="Commands"/><title type='text'>.Gitignore file how to access</title><content type='html'>&lt;p&gt;&amp;nbsp;&lt;b&gt;How to Access .gitignore file by terminal/Command:&lt;/b&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;.Gitigonre file &lt;/b&gt;resides in root directory of projects.&lt;/p&gt;&lt;p&gt;1- switch to your Project directory&lt;/p&gt;&lt;p&gt;&amp;nbsp;Exam-&amp;nbsp;pc@DESKTOP MINGW4 /c/xampp/htdocs/projectName&lt;br /&gt;&lt;br /&gt;2- use &quot; ls &quot;command for listing:&lt;/p&gt;&lt;p&gt;Exam-&amp;nbsp;pc@DESKTOP MINGW4 /c/xampp/htdocs/projectName$ ls&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;3- for .gitignore file : use just only &quot; ls -a &quot; flash command&lt;br /&gt;&amp;nbsp;pc@DESKTOP MINGW4 /c/xampp/htdocs/projectName$ ls -a&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='https://technicalstudyon.blogspot.com/feeds/5962569140674392114/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://technicalstudyon.blogspot.com/2023/11/gitignore-file-how-to-access.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/1905934111533627271/posts/default/5962569140674392114'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/1905934111533627271/posts/default/5962569140674392114'/><link rel='alternate' type='text/html' href='https://technicalstudyon.blogspot.com/2023/11/gitignore-file-how-to-access.html' title='.Gitignore file how to access'/><author><name>Technicalstudy</name><uri>http://www.blogger.com/profile/17694642546870276675</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1905934111533627271.post-5361385822901989022</id><published>2023-10-29T01:06:00.009+05:30</published><updated>2023-10-29T15:26:16.408+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="CodeIngniter 4"/><title type='text'>Select Option Check Selected With All Options Values With using ternary Operator</title><content type='html'>&lt;p&gt;&amp;nbsp;1- Most Important Point make it selected option with all option&#39;s Records&amp;nbsp; With using ternary Operator:&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;background-color: #1e1e1e; color: grey; font-family: &amp;quot;Droid Sans Mono&amp;quot;, &amp;quot;monospace&amp;quot;, monospace; font-size: 14px; white-space: pre;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;background-color: #1e1e1e; color: #569cd6; font-family: &amp;quot;Droid Sans Mono&amp;quot;, &amp;quot;monospace&amp;quot;, monospace; font-size: 14px; white-space: pre;&quot;&gt;div&lt;/span&gt;&lt;span style=&quot;background-color: #1e1e1e; color: #d4d4d4; font-family: &amp;quot;Droid Sans Mono&amp;quot;, &amp;quot;monospace&amp;quot;, monospace; font-size: 14px; white-space: pre;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;background-color: #1e1e1e; color: #9cdcfe; font-family: &amp;quot;Droid Sans Mono&amp;quot;, &amp;quot;monospace&amp;quot;, monospace; font-size: 14px; white-space: pre;&quot;&gt;class&lt;/span&gt;&lt;span style=&quot;background-color: #1e1e1e; color: #d4d4d4; font-family: &amp;quot;Droid Sans Mono&amp;quot;, &amp;quot;monospace&amp;quot;, monospace; font-size: 14px; white-space: pre;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;background-color: #1e1e1e; color: #ce9178; font-family: &amp;quot;Droid Sans Mono&amp;quot;, &amp;quot;monospace&amp;quot;, monospace; font-size: 14px; white-space: pre;&quot;&gt;&quot;form-group&quot;&lt;/span&gt;&lt;span style=&quot;background-color: #1e1e1e; color: grey; font-family: &amp;quot;Droid Sans Mono&amp;quot;, &amp;quot;monospace&amp;quot;, monospace; font-size: 14px; white-space: pre;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/p&gt;&lt;div style=&quot;background-color: #1e1e1e; color: #d4d4d4; font-family: &amp;quot;Droid Sans Mono&amp;quot;, &amp;quot;monospace&amp;quot;, monospace; font-size: 14px; line-height: 19px; white-space: pre;&quot;&gt;&lt;div&gt;        &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;label&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;for&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;cars&quot;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;Choose Role:&lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;label&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;        &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;div&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;class&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;col-sm-10&quot;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;            &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;select&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;name&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;role&quot;&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;id&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;role&quot;&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;class&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;form-control&quot;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;            &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;option&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;value&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;&quot;&lt;/span&gt; &lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;Choose Roles&lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;option&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;                &lt;span style=&quot;color: #569cd6;&quot;&gt;&amp;lt;?php&lt;/span&gt; &lt;span style=&quot;color: #c586c0;&quot;&gt;foreach&lt;/span&gt;(&lt;span style=&quot;color: #9cdcfe;&quot;&gt;$roles&lt;/span&gt; as &lt;span style=&quot;color: #9cdcfe;&quot;&gt;$role&lt;/span&gt;){&lt;span style=&quot;color: #569cd6;&quot;&gt;?&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;                  &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;option&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;value&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;&amp;lt;?=&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;$role&lt;/span&gt;[&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;id&#39;&lt;/span&gt;]&lt;span style=&quot;color: #569cd6;&quot;&gt;?&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;&lt;/span&gt; &lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;                    &amp;lt;?php&lt;/span&gt; &lt;span style=&quot;color: #dcdcaa;&quot;&gt;echo&lt;/span&gt; (&lt;span style=&quot;color: #9cdcfe;&quot;&gt;$role&lt;/span&gt;[&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;id&#39;&lt;/span&gt;] == &lt;span style=&quot;color: #9cdcfe;&quot;&gt;$data&lt;/span&gt;[&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;role_id&#39;&lt;/span&gt;]) &lt;/div&gt;&lt;div&gt;                    ? &lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;selected&#39;&lt;/span&gt; : &lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;&#39;&lt;/span&gt;; &lt;span style=&quot;color: #569cd6;&quot;&gt;?&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;                    &lt;span style=&quot;color: #569cd6;&quot;&gt;&amp;lt;?=&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;$role&lt;/span&gt;[&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;role&#39;&lt;/span&gt;]&lt;span style=&quot;color: #569cd6;&quot;&gt;?&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: grey;&quot;&gt;                  &amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;option&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt; &lt;/div&gt;&lt;div&gt;            &lt;span style=&quot;color: #569cd6;&quot;&gt;&amp;lt;?php&lt;/span&gt; } &lt;span style=&quot;color: #569cd6;&quot;&gt;?&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;            &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;select&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;            &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;div&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;        &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;div&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='https://technicalstudyon.blogspot.com/feeds/5361385822901989022/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://technicalstudyon.blogspot.com/2023/10/select-box-check-selected-with-all.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/1905934111533627271/posts/default/5361385822901989022'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/1905934111533627271/posts/default/5361385822901989022'/><link rel='alternate' type='text/html' href='https://technicalstudyon.blogspot.com/2023/10/select-box-check-selected-with-all.html' title='Select Option Check Selected With All Options Values With using ternary Operator'/><author><name>Technicalstudy</name><uri>http://www.blogger.com/profile/17694642546870276675</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1905934111533627271.post-3261554110467449847</id><published>2023-10-12T16:44:00.001+05:30</published><updated>2023-10-12T16:44:14.685+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="Laravel"/><title type='text'>ALL New Column in Existing Table </title><content type='html'>&lt;p&gt;&amp;nbsp;&lt;br /&gt;&lt;br /&gt;Make Migration&amp;nbsp; -&amp;nbsp;php artisan make:migration new_column_name --table=existing_table_name&lt;/p&gt;&lt;p&gt;Do Change Migration File like following :&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;div style=&quot;background-color: #1f1f1f; color: #cccccc; font-family: Consolas, &amp;quot;Courier New&amp;quot;, monospace; font-size: 14px; line-height: 19px; white-space: pre;&quot;&gt;&lt;div&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;&amp;lt;?php&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;use&lt;/span&gt;&lt;span style=&quot;color: #d4d4d4;&quot;&gt; Illuminate\Database\Migrations\&lt;/span&gt;&lt;span style=&quot;color: #4ec9b0;&quot;&gt;Migration&lt;/span&gt;&lt;span style=&quot;color: #d4d4d4;&quot;&gt;;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;use&lt;/span&gt;&lt;span style=&quot;color: #d4d4d4;&quot;&gt; Illuminate\Database\Schema\&lt;/span&gt;&lt;span style=&quot;color: #4ec9b0;&quot;&gt;Blueprint&lt;/span&gt;&lt;span style=&quot;color: #d4d4d4;&quot;&gt;;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;use&lt;/span&gt;&lt;span style=&quot;color: #d4d4d4;&quot;&gt; Illuminate\Support\Facades\&lt;/span&gt;&lt;span style=&quot;color: #4ec9b0;&quot;&gt;Schema&lt;/span&gt;&lt;span style=&quot;color: #d4d4d4;&quot;&gt;;&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;span style=&quot;color: #c586c0;&quot;&gt;return&lt;/span&gt;&lt;span style=&quot;color: #d4d4d4;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;new&lt;/span&gt;&lt;span style=&quot;color: #d4d4d4;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;class&lt;/span&gt;&lt;span style=&quot;color: #d4d4d4;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;extends&lt;/span&gt;&lt;span style=&quot;color: #d4d4d4;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #4ec9b0;&quot;&gt;Migration&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #d4d4d4;&quot;&gt;{&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #d4d4d4;&quot;&gt;&amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span style=&quot;color: #6a9955;&quot;&gt;/**&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #6a9955;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;* Run the migrations.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #6a9955;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;*/&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #d4d4d4;&quot;&gt;&amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;public&lt;/span&gt;&lt;span style=&quot;color: #d4d4d4;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;function&lt;/span&gt;&lt;span style=&quot;color: #d4d4d4;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #dcdcaa;&quot;&gt;up&lt;/span&gt;&lt;span style=&quot;color: #d4d4d4;&quot;&gt;(): &lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;void&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #d4d4d4;&quot;&gt;&amp;nbsp; &amp;nbsp; { &lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #d4d4d4;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;span style=&quot;color: #d4d4d4;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span style=&quot;color: #4ec9b0;&quot;&gt;Schema&lt;/span&gt;&lt;span style=&quot;color: #d4d4d4;&quot;&gt;::&lt;/span&gt;&lt;span style=&quot;color: #dcdcaa;&quot;&gt;table&lt;/span&gt;&lt;span style=&quot;color: #d4d4d4;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;users&#39;&lt;/span&gt;&lt;span style=&quot;color: #d4d4d4;&quot;&gt;, &lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;function&lt;/span&gt;&lt;span style=&quot;color: #d4d4d4;&quot;&gt; (&lt;/span&gt;&lt;span style=&quot;color: #4ec9b0;&quot;&gt;Blueprint&lt;/span&gt;&lt;span style=&quot;color: #d4d4d4;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #9cdcfe;&quot;&gt;$table&lt;/span&gt;&lt;span style=&quot;color: #d4d4d4;&quot;&gt;) {&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;span style=&quot;color: #d4d4d4;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span style=&quot;color: #9cdcfe;&quot;&gt;$table&lt;/span&gt;&lt;span style=&quot;color: #d4d4d4;&quot;&gt;-&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: #dcdcaa;&quot;&gt;after&lt;/span&gt;&lt;span style=&quot;color: #d4d4d4;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;password&#39;&lt;/span&gt;&lt;span style=&quot;color: #d4d4d4;&quot;&gt;, &lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;function&lt;/span&gt;&lt;span style=&quot;color: #d4d4d4;&quot;&gt; (&lt;/span&gt;&lt;span style=&quot;color: #4ec9b0;&quot;&gt;Blueprint&lt;/span&gt;&lt;span style=&quot;color: #d4d4d4;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #9cdcfe;&quot;&gt;$table&lt;/span&gt;&lt;span style=&quot;color: #d4d4d4;&quot;&gt;) {&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #d4d4d4;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span style=&quot;color: #9cdcfe;&quot;&gt;$table&lt;/span&gt;&lt;span style=&quot;color: #d4d4d4;&quot;&gt;-&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: #dcdcaa;&quot;&gt;integer&lt;/span&gt;&lt;span style=&quot;color: #d4d4d4;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;created_id&#39;&lt;/span&gt;&lt;span style=&quot;color: #d4d4d4;&quot;&gt;)-&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: #dcdcaa;&quot;&gt;nullable&lt;/span&gt;&lt;span style=&quot;color: #d4d4d4;&quot;&gt;();&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #d4d4d4;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #d4d4d4;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; });&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #d4d4d4;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; });&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #d4d4d4;&quot;&gt;&amp;nbsp; &amp;nbsp; }&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;span style=&quot;color: #d4d4d4;&quot;&gt;&amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span style=&quot;color: #6a9955;&quot;&gt;/**&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #6a9955;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;* Reverse the migrations.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #6a9955;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;*/&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #d4d4d4;&quot;&gt;&amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;public&lt;/span&gt;&lt;span style=&quot;color: #d4d4d4;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;function&lt;/span&gt;&lt;span style=&quot;color: #d4d4d4;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #dcdcaa;&quot;&gt;down&lt;/span&gt;&lt;span style=&quot;color: #d4d4d4;&quot;&gt;(): &lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;void&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #d4d4d4;&quot;&gt;&amp;nbsp; &amp;nbsp; {&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #d4d4d4;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span style=&quot;color: #4ec9b0;&quot;&gt;Schema&lt;/span&gt;&lt;span style=&quot;color: #d4d4d4;&quot;&gt;::&lt;/span&gt;&lt;span style=&quot;color: #dcdcaa;&quot;&gt;table&lt;/span&gt;&lt;span style=&quot;color: #d4d4d4;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;users&#39;&lt;/span&gt;&lt;span style=&quot;color: #d4d4d4;&quot;&gt;, &lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;function&lt;/span&gt;&lt;span style=&quot;color: #d4d4d4;&quot;&gt; (&lt;/span&gt;&lt;span style=&quot;color: #4ec9b0;&quot;&gt;Blueprint&lt;/span&gt;&lt;span style=&quot;color: #d4d4d4;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #9cdcfe;&quot;&gt;$table&lt;/span&gt;&lt;span style=&quot;color: #d4d4d4;&quot;&gt;) {&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #d4d4d4;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span style=&quot;color: #9cdcfe;&quot;&gt;$table&lt;/span&gt;&lt;span style=&quot;color: #d4d4d4;&quot;&gt;-&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: #dcdcaa;&quot;&gt;dropColumn&lt;/span&gt;&lt;span style=&quot;color: #d4d4d4;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;created_id&#39;&lt;/span&gt;&lt;span style=&quot;color: #d4d4d4;&quot;&gt;);&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #d4d4d4;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; });&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #d4d4d4;&quot;&gt;&amp;nbsp; &amp;nbsp; }&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #d4d4d4;&quot;&gt;};&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;&lt;/div&gt;&lt;p&gt;&amp;nbsp;&lt;br /&gt;After That Migrate Specific Migration File&lt;/p&gt;&lt;p&gt;&lt;br /&gt;php artisan migrate:refresh --path=database/migrations/2023_10_12_160607_created_id.php&lt;/p&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='https://technicalstudyon.blogspot.com/feeds/3261554110467449847/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://technicalstudyon.blogspot.com/2023/10/all-new-column-in-existing-table.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/1905934111533627271/posts/default/3261554110467449847'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/1905934111533627271/posts/default/3261554110467449847'/><link rel='alternate' type='text/html' href='https://technicalstudyon.blogspot.com/2023/10/all-new-column-in-existing-table.html' title='ALL New Column in Existing Table '/><author><name>Technicalstudy</name><uri>http://www.blogger.com/profile/17694642546870276675</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1905934111533627271.post-1834651252223234044</id><published>2023-09-30T13:37:00.003+05:30</published><updated>2023-11-23T17:25:06.542+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="CodeIngniter 4"/><title type='text'>JOIN CI4</title><content type='html'>&lt;p&gt;&lt;b&gt;JOIN IN CI4&amp;nbsp; :&lt;/b&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;$TeachersClassModels = new TeachersClassModels();&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; $data[&#39;TeachersClassModels&#39;] =$TeachersClassModels-&amp;gt;table(&#39;teachers_classes&#39;)&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; -&amp;gt;select(&#39;teachers_classes.*,classes.id as idfc,classes.name as nfc&#39;)&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; -&amp;gt;join(&#39;classes&#39;, &#39;classes.id = teachers_classes.class_id&#39;)&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; -&amp;gt;where(&#39;teachers_classes.institute_id&#39;, $_SESSION[&#39;institutes&#39;])&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; -&amp;gt;where(&#39;teachers_classes.teacher_id&#39;, $_SESSION[&#39;id&#39;])&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; -&amp;gt;findAll();&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='https://technicalstudyon.blogspot.com/feeds/1834651252223234044/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://technicalstudyon.blogspot.com/2023/09/join-ci4.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/1905934111533627271/posts/default/1834651252223234044'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/1905934111533627271/posts/default/1834651252223234044'/><link rel='alternate' type='text/html' href='https://technicalstudyon.blogspot.com/2023/09/join-ci4.html' title='JOIN CI4'/><author><name>Technicalstudy</name><uri>http://www.blogger.com/profile/17694642546870276675</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1905934111533627271.post-2575506983716949212</id><published>2023-09-17T21:38:00.005+05:30</published><updated>2023-09-19T21:08:17.752+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="CodeIngniter 4"/><title type='text'>User Registration  and Login and Logout CI4 </title><content type='html'>&lt;p&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;b&gt;USER REGISTRATION And LOGIN &amp;amp; LOGOUT - CI4&amp;nbsp;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiF8O7-4i8z2OICgggRXfsoVtVp6IjbJuCW4rC8XP9spIcqpl29IT_uAH4VY4zwcrl-DzFMtLe-rSpAp1y6OySmVdfL-ExzrxjgrPmV_sXDFJ2rvhw6scjoNo5og1b5x-u-AqsMZH15hGzU3BOkHGxGT0bQz6YKd_jvVbbxUh5wOMTBtp91fhEohNXLgZA/s984/Screenshot%20from%202023-09-17%2021-39-24.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;514&quot; data-original-width=&quot;984&quot; height=&quot;355&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiF8O7-4i8z2OICgggRXfsoVtVp6IjbJuCW4rC8XP9spIcqpl29IT_uAH4VY4zwcrl-DzFMtLe-rSpAp1y6OySmVdfL-ExzrxjgrPmV_sXDFJ2rvhw6scjoNo5og1b5x-u-AqsMZH15hGzU3BOkHGxGT0bQz6YKd_jvVbbxUh5wOMTBtp91fhEohNXLgZA/w704-h355/Screenshot%20from%202023-09-17%2021-39-24.png&quot; width=&quot;704&quot; /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;br /&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;b&gt;step 1-&amp;nbsp; App/config App.php&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style=&quot;background-color: #1e1e1e; color: #d4d4d4; font-family: &amp;quot;Droid Sans Mono&amp;quot;, &amp;quot;monospace&amp;quot;, monospace; font-size: 14px; line-height: 19px; white-space: pre;&quot;&gt;&lt;div&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;namespace&lt;/span&gt; &lt;span style=&quot;color: #4ec9b0;&quot;&gt;Config&lt;/span&gt;;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;use&lt;/span&gt; CodeIgniter\Config\&lt;span style=&quot;color: #4ec9b0;&quot;&gt;BaseConfig&lt;/span&gt;;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;class&lt;/span&gt; &lt;span style=&quot;color: #4ec9b0;&quot;&gt;App&lt;/span&gt; &lt;span style=&quot;color: #569cd6;&quot;&gt;extends&lt;/span&gt; &lt;span style=&quot;color: #4ec9b0;&quot;&gt;BaseConfig&lt;/span&gt;&lt;/div&gt;&lt;div&gt;{&lt;/div&gt;&lt;div&gt;    &lt;span style=&quot;color: #6a9955;&quot;&gt;/**&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #6a9955;&quot;&gt;     * --------------------------------------------------------------------------&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #6a9955;&quot;&gt;     * Base Site URL&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #6a9955;&quot;&gt;     * --------------------------------------------------------------------------&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #6a9955;&quot;&gt;     *&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #6a9955;&quot;&gt;     * URL to your CodeIgniter root. Typically, this will be your base URL,&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #6a9955;&quot;&gt;     * WITH a trailing slash:&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #6a9955;&quot;&gt;     *&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #6a9955;&quot;&gt;     *    http://example.com/&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #6a9955;&quot;&gt;     */&lt;/span&gt;&lt;/div&gt;&lt;div&gt;    &lt;span style=&quot;color: #6a9955;&quot;&gt;// public string $baseURL = &#39;http://localhost:8080/&#39;;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;     &lt;span style=&quot;color: #569cd6;&quot;&gt;public&lt;/span&gt; &lt;span style=&quot;color: #569cd6;&quot;&gt;string&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;$baseURL&lt;/span&gt; = &lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;http://127.0.0.1/vegatask/public/&#39;&lt;/span&gt;;&lt;/div&gt;&lt;div&gt;    &lt;/div&gt;&lt;br /&gt;&lt;/div&gt;&lt;p&gt;&lt;b&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;Step 2- Env and Database Define :&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;Create uploads folder in apublic/assets/ as&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;apublic/assets/uploads for image save.&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;&lt;div style=&quot;background-color: #1e1e1e; color: #d4d4d4; font-family: &amp;quot;Droid Sans Mono&amp;quot;, &amp;quot;monospace&amp;quot;, monospace; font-size: 14px; line-height: 19px; white-space: pre;&quot;&gt;&lt;div&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;&amp;lt;?php&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;namespace&lt;/span&gt; &lt;span style=&quot;color: #4ec9b0;&quot;&gt;Config&lt;/span&gt;;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;use&lt;/span&gt; CodeIgniter\Database\&lt;span style=&quot;color: #4ec9b0;&quot;&gt;Config&lt;/span&gt;;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;span style=&quot;color: #6a9955;&quot;&gt;/**&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #6a9955;&quot;&gt; * Database Configuration&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #6a9955;&quot;&gt; */&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;class&lt;/span&gt; &lt;span style=&quot;color: #4ec9b0;&quot;&gt;Database&lt;/span&gt; &lt;span style=&quot;color: #569cd6;&quot;&gt;extends&lt;/span&gt; &lt;span style=&quot;color: #4ec9b0;&quot;&gt;Config&lt;/span&gt;&lt;/div&gt;&lt;div&gt;{&lt;/div&gt;&lt;div&gt;    &lt;span style=&quot;color: #6a9955;&quot;&gt;/**&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #6a9955;&quot;&gt;     * The directory that holds the Migrations&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #6a9955;&quot;&gt;     * and Seeds directories.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #6a9955;&quot;&gt;     */&lt;/span&gt;&lt;/div&gt;&lt;div&gt;    &lt;span style=&quot;color: #569cd6;&quot;&gt;public&lt;/span&gt; &lt;span style=&quot;color: #569cd6;&quot;&gt;string&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;$filesPath&lt;/span&gt; = APPPATH . &lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;Database&#39;&lt;/span&gt; . DIRECTORY_SEPARATOR;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;    &lt;span style=&quot;color: #6a9955;&quot;&gt;/**&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #6a9955;&quot;&gt;     * Lets you choose which connection group to&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #6a9955;&quot;&gt;     * use if no other is specified.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #6a9955;&quot;&gt;     */&lt;/span&gt;&lt;/div&gt;&lt;div&gt;    &lt;span style=&quot;color: #569cd6;&quot;&gt;public&lt;/span&gt; &lt;span style=&quot;color: #569cd6;&quot;&gt;string&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;$defaultGroup&lt;/span&gt; = &lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;default&#39;&lt;/span&gt;;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;    &lt;span style=&quot;color: #6a9955;&quot;&gt;/**&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #6a9955;&quot;&gt;     * The default database connection.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #6a9955;&quot;&gt;     */&lt;/span&gt;&lt;/div&gt;&lt;div&gt;    &lt;span style=&quot;color: #569cd6;&quot;&gt;public&lt;/span&gt; &lt;span style=&quot;color: #569cd6;&quot;&gt;array&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;$default&lt;/span&gt; = [&lt;/div&gt;&lt;div&gt;        &lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;DSN&#39;&lt;/span&gt;          =&amp;gt; &lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;&#39;&lt;/span&gt;,&lt;/div&gt;&lt;div&gt;        &lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;hostname&#39;&lt;/span&gt;     =&amp;gt; &lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;localhost&#39;&lt;/span&gt;,&lt;/div&gt;&lt;div&gt;        &lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;username&#39;&lt;/span&gt;     =&amp;gt; &lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;root&#39;&lt;/span&gt;,&lt;/div&gt;&lt;div&gt;        &lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;password&#39;&lt;/span&gt;     =&amp;gt; &lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;root&#39;&lt;/span&gt;,&lt;/div&gt;&lt;div&gt;        &lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;database&#39;&lt;/span&gt;     =&amp;gt; &lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;vegatask&#39;&lt;/span&gt;,&lt;/div&gt;&lt;div&gt;        &lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;DBDriver&#39;&lt;/span&gt;     =&amp;gt; &lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;MySQLi&#39;&lt;/span&gt;,&lt;/div&gt;&lt;div&gt;        &lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;DBPrefix&#39;&lt;/span&gt;     =&amp;gt; &lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;&#39;&lt;/span&gt;,&lt;/div&gt;&lt;div&gt;        &lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;pConnect&#39;&lt;/span&gt;     =&amp;gt; &lt;span style=&quot;color: #569cd6;&quot;&gt;false&lt;/span&gt;,&lt;/div&gt;&lt;div&gt;        &lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;DBDebug&#39;&lt;/span&gt;      =&amp;gt; &lt;span style=&quot;color: #569cd6;&quot;&gt;true&lt;/span&gt;,&lt;/div&gt;&lt;div&gt;        &lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;charset&#39;&lt;/span&gt;      =&amp;gt; &lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;utf8&#39;&lt;/span&gt;,&lt;/div&gt;&lt;div&gt;        &lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;DBCollat&#39;&lt;/span&gt;     =&amp;gt; &lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;utf8_general_ci&#39;&lt;/span&gt;,&lt;/div&gt;&lt;div&gt;        &lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;swapPre&#39;&lt;/span&gt;      =&amp;gt; &lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;&#39;&lt;/span&gt;,&lt;/div&gt;&lt;div&gt;        &lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;encrypt&#39;&lt;/span&gt;      =&amp;gt; &lt;span style=&quot;color: #569cd6;&quot;&gt;false&lt;/span&gt;,&lt;/div&gt;&lt;div&gt;        &lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;compress&#39;&lt;/span&gt;     =&amp;gt; &lt;span style=&quot;color: #569cd6;&quot;&gt;false&lt;/span&gt;,&lt;/div&gt;&lt;div&gt;        &lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;strictOn&#39;&lt;/span&gt;     =&amp;gt; &lt;span style=&quot;color: #569cd6;&quot;&gt;false&lt;/span&gt;,&lt;/div&gt;&lt;div&gt;        &lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;failover&#39;&lt;/span&gt;     =&amp;gt; [],&lt;/div&gt;&lt;div&gt;        &lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;port&#39;&lt;/span&gt;         =&amp;gt; &lt;span style=&quot;color: #b5cea8;&quot;&gt;3306&lt;/span&gt;,&lt;/div&gt;&lt;div&gt;        &lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;numberNative&#39;&lt;/span&gt; =&amp;gt; &lt;span style=&quot;color: #569cd6;&quot;&gt;false&lt;/span&gt;,&lt;/div&gt;&lt;div&gt;    ];&lt;/div&gt;&lt;br /&gt;&lt;div&gt;    &lt;span style=&quot;color: #6a9955;&quot;&gt;/**&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #6a9955;&quot;&gt;     * This database connection is used when&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #6a9955;&quot;&gt;     * running PHPUnit database tests.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #6a9955;&quot;&gt;     */&lt;/span&gt;&lt;/div&gt;&lt;div&gt;    &lt;span style=&quot;color: #569cd6;&quot;&gt;public&lt;/span&gt; &lt;span style=&quot;color: #569cd6;&quot;&gt;array&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;$tests&lt;/span&gt; = [&lt;/div&gt;&lt;div&gt;        &lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;DSN&#39;&lt;/span&gt;         =&amp;gt; &lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;&#39;&lt;/span&gt;,&lt;/div&gt;&lt;div&gt;        &lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;hostname&#39;&lt;/span&gt;    =&amp;gt; &lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;127.0.0.1&#39;&lt;/span&gt;,&lt;/div&gt;&lt;div&gt;        &lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;username&#39;&lt;/span&gt;    =&amp;gt; &lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;&#39;&lt;/span&gt;,&lt;/div&gt;&lt;div&gt;        &lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;password&#39;&lt;/span&gt;    =&amp;gt; &lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;&#39;&lt;/span&gt;,&lt;/div&gt;&lt;div&gt;        &lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;database&#39;&lt;/span&gt;    =&amp;gt; &lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;:memory:&#39;&lt;/span&gt;,&lt;/div&gt;&lt;div&gt;        &lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;DBDriver&#39;&lt;/span&gt;    =&amp;gt; &lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;SQLite3&#39;&lt;/span&gt;,&lt;/div&gt;&lt;div&gt;        &lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;DBPrefix&#39;&lt;/span&gt;    =&amp;gt; &lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;db_&#39;&lt;/span&gt;,  &lt;span style=&quot;color: #6a9955;&quot;&gt;// Needed to ensure we&#39;re working correctly with prefixes live. DO NOT REMOVE FOR CI DEVS&lt;/span&gt;&lt;/div&gt;&lt;div&gt;        &lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;pConnect&#39;&lt;/span&gt;    =&amp;gt; &lt;span style=&quot;color: #569cd6;&quot;&gt;false&lt;/span&gt;,&lt;/div&gt;&lt;div&gt;        &lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;DBDebug&#39;&lt;/span&gt;     =&amp;gt; &lt;span style=&quot;color: #569cd6;&quot;&gt;true&lt;/span&gt;,&lt;/div&gt;&lt;div&gt;        &lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;charset&#39;&lt;/span&gt;     =&amp;gt; &lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;utf8&#39;&lt;/span&gt;,&lt;/div&gt;&lt;div&gt;        &lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;DBCollat&#39;&lt;/span&gt;    =&amp;gt; &lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;utf8_general_ci&#39;&lt;/span&gt;,&lt;/div&gt;&lt;div&gt;        &lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;swapPre&#39;&lt;/span&gt;     =&amp;gt; &lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;&#39;&lt;/span&gt;,&lt;/div&gt;&lt;div&gt;        &lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;encrypt&#39;&lt;/span&gt;     =&amp;gt; &lt;span style=&quot;color: #569cd6;&quot;&gt;false&lt;/span&gt;,&lt;/div&gt;&lt;div&gt;        &lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;compress&#39;&lt;/span&gt;    =&amp;gt; &lt;span style=&quot;color: #569cd6;&quot;&gt;false&lt;/span&gt;,&lt;/div&gt;&lt;div&gt;        &lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;strictOn&#39;&lt;/span&gt;    =&amp;gt; &lt;span style=&quot;color: #569cd6;&quot;&gt;false&lt;/span&gt;,&lt;/div&gt;&lt;div&gt;        &lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;failover&#39;&lt;/span&gt;    =&amp;gt; [],&lt;/div&gt;&lt;div&gt;        &lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;port&#39;&lt;/span&gt;        =&amp;gt; &lt;span style=&quot;color: #b5cea8;&quot;&gt;3306&lt;/span&gt;,&lt;/div&gt;&lt;div&gt;        &lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;foreignKeys&#39;&lt;/span&gt; =&amp;gt; &lt;span style=&quot;color: #569cd6;&quot;&gt;true&lt;/span&gt;,&lt;/div&gt;&lt;div&gt;        &lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;busyTimeout&#39;&lt;/span&gt; =&amp;gt; &lt;span style=&quot;color: #b5cea8;&quot;&gt;1000&lt;/span&gt;,&lt;/div&gt;&lt;div&gt;    ];&lt;/div&gt;&lt;br /&gt;&lt;/div&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;Step 3 - Create model to Define Table fields UsersModel.php :&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;&lt;div style=&quot;background-color: #1e1e1e; color: #d4d4d4; font-family: &amp;quot;Droid Sans Mono&amp;quot;, &amp;quot;monospace&amp;quot;, monospace; font-size: 14px; line-height: 19px; white-space: pre;&quot;&gt;&lt;div&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;&amp;lt;?php&lt;/span&gt; &lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;namespace&lt;/span&gt; &lt;span style=&quot;color: #4ec9b0;&quot;&gt;App\Models&lt;/span&gt;;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;use&lt;/span&gt; CodeIgniter\&lt;span style=&quot;color: #4ec9b0;&quot;&gt;Model&lt;/span&gt;;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;class&lt;/span&gt; &lt;span style=&quot;color: #4ec9b0;&quot;&gt;UsersModel&lt;/span&gt; &lt;span style=&quot;color: #569cd6;&quot;&gt;extends&lt;/span&gt; &lt;span style=&quot;color: #4ec9b0;&quot;&gt;Model&lt;/span&gt;{&lt;/div&gt;&lt;div&gt;       &lt;span style=&quot;color: #569cd6;&quot;&gt;protected&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;$table&lt;/span&gt; =&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;users&#39;&lt;/span&gt;;&lt;/div&gt;&lt;div&gt;       &lt;span style=&quot;color: #569cd6;&quot;&gt;protected&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;$primaryKey&lt;/span&gt; = &lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;id&#39;&lt;/span&gt;;&lt;/div&gt;&lt;div&gt;       &lt;span style=&quot;color: #569cd6;&quot;&gt;protected&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;$allowedFields&lt;/span&gt; =[&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;name&#39;&lt;/span&gt;,&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;mobile&#39;&lt;/span&gt;,&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;email&#39;&lt;/span&gt;,&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;img_name&#39;&lt;/span&gt;,&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;is_deleted&#39;&lt;/span&gt;,&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;password&#39;&lt;/span&gt;];&lt;/div&gt;&lt;div&gt;}&lt;/div&gt;&lt;/div&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;Step 4- Defines Route Routes.php:&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;&lt;div style=&quot;background-color: #1e1e1e; color: #d4d4d4; font-family: &amp;quot;Droid Sans Mono&amp;quot;, &amp;quot;monospace&amp;quot;, monospace; font-size: 14px; line-height: 19px; white-space: pre;&quot;&gt;&lt;div&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;&amp;lt;?php&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;use&lt;/span&gt; CodeIgniter\Router\&lt;span style=&quot;color: #4ec9b0;&quot;&gt;RouteCollection&lt;/span&gt;;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;span style=&quot;color: #6a9955;&quot;&gt;/**&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #6a9955;&quot;&gt; * &lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;@var&lt;/span&gt;&lt;span style=&quot;color: #6a9955;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #4ec9b0;&quot;&gt;RouteCollection&lt;/span&gt;&lt;span style=&quot;color: #6a9955;&quot;&gt; $routes&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #6a9955;&quot;&gt; */&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #9cdcfe;&quot;&gt;$routes&lt;/span&gt;-&amp;gt;&lt;span style=&quot;color: #dcdcaa;&quot;&gt;get&lt;/span&gt;(&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;/alldata&#39;&lt;/span&gt;, &lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;Home::index&#39;&lt;/span&gt;);&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #9cdcfe;&quot;&gt;$routes&lt;/span&gt;-&amp;gt;&lt;span style=&quot;color: #dcdcaa;&quot;&gt;get&lt;/span&gt;(&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;/&#39;&lt;/span&gt;,&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;LoginController::ajaxform&#39;&lt;/span&gt;);&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;span style=&quot;color: #9cdcfe;&quot;&gt;$routes&lt;/span&gt;-&amp;gt;&lt;span style=&quot;color: #dcdcaa;&quot;&gt;get&lt;/span&gt;(&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;/form&#39;&lt;/span&gt;, &lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;Home::form&#39;&lt;/span&gt;);&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #9cdcfe;&quot;&gt;$routes&lt;/span&gt;-&amp;gt;&lt;span style=&quot;color: #dcdcaa;&quot;&gt;post&lt;/span&gt;(&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;/savedata&#39;&lt;/span&gt;,&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;Home::savedata&#39;&lt;/span&gt;);&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #9cdcfe;&quot;&gt;$routes&lt;/span&gt;-&amp;gt;&lt;span style=&quot;color: #dcdcaa;&quot;&gt;get&lt;/span&gt;(&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;edit/(:any)&#39;&lt;/span&gt;,&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;Home::Edit/$1&#39;&lt;/span&gt;);&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #9cdcfe;&quot;&gt;$routes&lt;/span&gt;-&amp;gt;&lt;span style=&quot;color: #dcdcaa;&quot;&gt;post&lt;/span&gt;(&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;update/(:any)&#39;&lt;/span&gt;,&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;Home::updatedata/$1&#39;&lt;/span&gt;);&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #9cdcfe;&quot;&gt;$routes&lt;/span&gt;-&amp;gt;&lt;span style=&quot;color: #dcdcaa;&quot;&gt;get&lt;/span&gt;(&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;remove/(:any)&#39;&lt;/span&gt;,&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;Home::remove/$1&#39;&lt;/span&gt;); &lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;div&gt;&lt;span style=&quot;color: #9cdcfe;&quot;&gt;$routes&lt;/span&gt;-&amp;gt;&lt;span style=&quot;color: #dcdcaa;&quot;&gt;get&lt;/span&gt;(&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;login&#39;&lt;/span&gt;,&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;LoginController::ajaxform&#39;&lt;/span&gt;);&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #9cdcfe;&quot;&gt;$routes&lt;/span&gt;-&amp;gt;&lt;span style=&quot;color: #dcdcaa;&quot;&gt;get&lt;/span&gt;(&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;userdata&#39;&lt;/span&gt;,&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;LoginController::userdata&#39;&lt;/span&gt;);&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #9cdcfe;&quot;&gt;$routes&lt;/span&gt;-&amp;gt;&lt;span style=&quot;color: #dcdcaa;&quot;&gt;post&lt;/span&gt;(&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;logindata&#39;&lt;/span&gt;,&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;LoginController::logindata&#39;&lt;/span&gt;); &lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #9cdcfe;&quot;&gt;$routes&lt;/span&gt;-&amp;gt;&lt;span style=&quot;color: #dcdcaa;&quot;&gt;get&lt;/span&gt;(&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;logout&#39;&lt;/span&gt;,&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;LoginController::logout&#39;&lt;/span&gt;);&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;p&gt;&lt;b&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;Step 5- Define for Login custom_helper.php&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;&lt;div style=&quot;background-color: #1e1e1e; color: #d4d4d4; font-family: &amp;quot;Droid Sans Mono&amp;quot;, &amp;quot;monospace&amp;quot;, monospace; font-size: 14px; line-height: 19px; white-space: pre;&quot;&gt;&lt;div&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;&amp;lt;?php&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;use&lt;/span&gt; App\Models\&lt;span style=&quot;color: #4ec9b0;&quot;&gt;UsersModel&lt;/span&gt;;&lt;/div&gt;&lt;div&gt; &lt;span style=&quot;color: #569cd6;&quot;&gt;function&lt;/span&gt; &lt;span style=&quot;color: #dcdcaa;&quot;&gt;isLogged&lt;/span&gt;(&lt;span style=&quot;color: #9cdcfe;&quot;&gt;$email&lt;/span&gt;,&lt;span style=&quot;color: #9cdcfe;&quot;&gt;$password&lt;/span&gt;){&lt;/div&gt;&lt;div&gt;         &lt;span style=&quot;color: #9cdcfe;&quot;&gt;$model&lt;/span&gt; = &lt;span style=&quot;color: #569cd6;&quot;&gt;new&lt;/span&gt; &lt;span style=&quot;color: #4ec9b0;&quot;&gt;UsersModel&lt;/span&gt;();&lt;/div&gt;&lt;div&gt;         &lt;span style=&quot;color: #9cdcfe;&quot;&gt;$data&lt;/span&gt; = &lt;span style=&quot;color: #9cdcfe;&quot;&gt;$model&lt;/span&gt;-&amp;gt;&lt;span style=&quot;color: #dcdcaa;&quot;&gt;where&lt;/span&gt;(&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;email&#39;&lt;/span&gt;,&lt;span style=&quot;color: #9cdcfe;&quot;&gt;$email&lt;/span&gt;)-&amp;gt;&lt;span style=&quot;color: #dcdcaa;&quot;&gt;where&lt;/span&gt;(&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;password&#39;&lt;/span&gt;,&lt;span style=&quot;color: #9cdcfe;&quot;&gt;$password&lt;/span&gt;)-&amp;gt;&lt;span style=&quot;color: #dcdcaa;&quot;&gt;find&lt;/span&gt;()[&lt;span style=&quot;color: #b5cea8;&quot;&gt;0&lt;/span&gt;];&lt;/div&gt;&lt;div&gt;         &lt;/div&gt;&lt;div&gt;         &lt;span style=&quot;color: #c586c0;&quot;&gt;if&lt;/span&gt;(&lt;span style=&quot;color: #dcdcaa;&quot;&gt;isset&lt;/span&gt;(&lt;span style=&quot;color: #9cdcfe;&quot;&gt;$data&lt;/span&gt;)){&lt;/div&gt;&lt;div&gt;            &lt;span style=&quot;color: #c586c0;&quot;&gt;return&lt;/span&gt; [&lt;/div&gt;&lt;div&gt;                &lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;id&#39;&lt;/span&gt; =&amp;gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;$data&lt;/span&gt;[&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;id&#39;&lt;/span&gt;],&lt;/div&gt;&lt;div&gt;                &lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;email&#39;&lt;/span&gt; =&amp;gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;$data&lt;/span&gt;[&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;email&#39;&lt;/span&gt;],&lt;/div&gt;&lt;div&gt;                &lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;is_loggedin&#39;&lt;/span&gt; =&amp;gt; &lt;span style=&quot;color: #569cd6;&quot;&gt;true&lt;/span&gt;&lt;/div&gt;&lt;div&gt;            ];&lt;/div&gt;&lt;div&gt;         }&lt;/div&gt;&lt;div&gt;}&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;?&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;Step 6 - Create Controller LoginController.php&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;&lt;div style=&quot;background-color: #1e1e1e; color: #d4d4d4; font-family: &amp;quot;Droid Sans Mono&amp;quot;, &amp;quot;monospace&amp;quot;, monospace; line-height: 19px; white-space: pre;&quot;&gt;&lt;div&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;&amp;lt;?php&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-size: 14px;&quot;&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;namespace&lt;/span&gt; &lt;span style=&quot;color: #4ec9b0;&quot;&gt;App\Controllers&lt;/span&gt;;&lt;/div&gt;&lt;div style=&quot;font-size: 14px;&quot;&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;use&lt;/span&gt; CodeIgniter\&lt;span style=&quot;color: #4ec9b0;&quot;&gt;Controller&lt;/span&gt;;&lt;/div&gt;&lt;div style=&quot;font-size: 14px;&quot;&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;use&lt;/span&gt; App\Models\&lt;span style=&quot;color: #4ec9b0;&quot;&gt;UsersModel&lt;/span&gt;;&lt;/div&gt;&lt;div style=&quot;font-size: 14px;&quot;&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;class&lt;/span&gt; &lt;span style=&quot;color: #4ec9b0;&quot;&gt;LoginController&lt;/span&gt; &lt;span style=&quot;color: #569cd6;&quot;&gt;extends&lt;/span&gt; &lt;span style=&quot;color: #4ec9b0;&quot;&gt;BaseController&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-size: 14px;&quot;&gt;{&lt;/div&gt;&lt;div style=&quot;font-size: 14px;&quot;&gt;    &lt;span style=&quot;color: #569cd6;&quot;&gt;public&lt;/span&gt; &lt;span style=&quot;color: #569cd6;&quot;&gt;function&lt;/span&gt; &lt;span style=&quot;color: #dcdcaa;&quot;&gt;__construct&lt;/span&gt;(){&lt;/div&gt;&lt;div style=&quot;font-size: 14px;&quot;&gt;        &lt;span style=&quot;color: #dcdcaa;&quot;&gt;helper&lt;/span&gt;([&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;custom&#39;&lt;/span&gt;]);&lt;/div&gt;&lt;div style=&quot;font-size: 14px;&quot;&gt;    }&lt;/div&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;div style=&quot;font-size: 14px;&quot;&gt;    &lt;span style=&quot;color: #569cd6;&quot;&gt;public&lt;/span&gt; &lt;span style=&quot;color: #569cd6;&quot;&gt;function&lt;/span&gt; &lt;span style=&quot;color: #dcdcaa;&quot;&gt;userdata&lt;/span&gt;(){&lt;/div&gt;&lt;div style=&quot;font-size: 14px;&quot;&gt;        &lt;/div&gt;&lt;div style=&quot;font-size: 14px;&quot;&gt;        &lt;span style=&quot;color: #9cdcfe;&quot;&gt;$session&lt;/span&gt; = &lt;span style=&quot;color: #dcdcaa;&quot;&gt;session&lt;/span&gt;();&lt;/div&gt;&lt;div style=&quot;font-size: 14px;&quot;&gt;        &lt;span style=&quot;color: #c586c0;&quot;&gt;if&lt;/span&gt; (&lt;span style=&quot;color: #569cd6;&quot;&gt;null&lt;/span&gt; !==&lt;span style=&quot;color: #9cdcfe;&quot;&gt;$session&lt;/span&gt;-&amp;gt;&lt;span style=&quot;color: #dcdcaa;&quot;&gt;get&lt;/span&gt;(&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;is_loggedin&#39;&lt;/span&gt;)) { &lt;/div&gt;&lt;div style=&quot;font-size: 14px;&quot;&gt;            &lt;span style=&quot;color: #9cdcfe;&quot;&gt;$model&lt;/span&gt; = &lt;span style=&quot;color: #569cd6;&quot;&gt;new&lt;/span&gt; &lt;span style=&quot;color: #4ec9b0;&quot;&gt;usersModel&lt;/span&gt;();&lt;/div&gt;&lt;div style=&quot;font-size: 14px;&quot;&gt;            &lt;span style=&quot;color: #9cdcfe;&quot;&gt;$data&lt;/span&gt;[&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;records&#39;&lt;/span&gt;] = &lt;span style=&quot;color: #9cdcfe;&quot;&gt;$model&lt;/span&gt;-&amp;gt;&lt;span style=&quot;color: #dcdcaa;&quot;&gt;where&lt;/span&gt;(&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;is_deleted&#39;&lt;/span&gt;,&lt;span style=&quot;color: #b5cea8;&quot;&gt;0&lt;/span&gt;)-&amp;gt;&lt;span style=&quot;color: #dcdcaa;&quot;&gt;where&lt;/span&gt;(&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;id&#39;&lt;/span&gt;,&lt;span style=&quot;color: #9cdcfe;&quot;&gt;$session&lt;/span&gt;-&amp;gt;&lt;span style=&quot;color: #dcdcaa;&quot;&gt;get&lt;/span&gt;(&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;id&#39;&lt;/span&gt;))-&amp;gt;&lt;span style=&quot;color: #dcdcaa;&quot;&gt;findAll&lt;/span&gt;()[&lt;span style=&quot;color: #b5cea8;&quot;&gt;0&lt;/span&gt;];&lt;/div&gt;&lt;div style=&quot;font-size: 14px;&quot;&gt;            &lt;span style=&quot;color: #c586c0;&quot;&gt;return&lt;/span&gt; &lt;span style=&quot;color: #dcdcaa;&quot;&gt;view&lt;/span&gt;(&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;dashboard&#39;&lt;/span&gt;,&lt;span style=&quot;color: #9cdcfe;&quot;&gt;$data&lt;/span&gt;);&lt;/div&gt;&lt;div style=&quot;font-size: 14px;&quot;&gt;         }{&lt;/div&gt;&lt;div style=&quot;font-size: 14px;&quot;&gt;            &lt;span style=&quot;color: #c586c0;&quot;&gt;return&lt;/span&gt; &lt;span style=&quot;color: #dcdcaa;&quot;&gt;redirect&lt;/span&gt;()-&amp;gt;&lt;span style=&quot;color: #dcdcaa;&quot;&gt;to&lt;/span&gt;(&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;/login&#39;&lt;/span&gt;);&lt;/div&gt;&lt;div style=&quot;font-size: 14px;&quot;&gt;         }&lt;/div&gt;&lt;div style=&quot;font-size: 14px;&quot;&gt;       &lt;/div&gt;&lt;div style=&quot;font-size: 14px;&quot;&gt;    }&lt;/div&gt;&lt;div style=&quot;font-size: 14px;&quot;&gt;    &lt;span style=&quot;color: #569cd6;&quot;&gt;public&lt;/span&gt; &lt;span style=&quot;color: #569cd6;&quot;&gt;function&lt;/span&gt; &lt;span style=&quot;color: #dcdcaa;&quot;&gt;ajaxform&lt;/span&gt;(){&lt;/div&gt;&lt;div style=&quot;font-size: 14px;&quot;&gt;        &lt;span style=&quot;color: #9cdcfe;&quot;&gt;$session&lt;/span&gt; = &lt;span style=&quot;color: #dcdcaa;&quot;&gt;session&lt;/span&gt;();&lt;/div&gt;&lt;div style=&quot;font-size: 14px;&quot;&gt;        &lt;/div&gt;&lt;div style=&quot;font-size: 14px;&quot;&gt;        &lt;span style=&quot;color: #c586c0;&quot;&gt;if&lt;/span&gt; (&lt;span style=&quot;color: #569cd6;&quot;&gt;null&lt;/span&gt; ===&lt;span style=&quot;color: #9cdcfe;&quot;&gt;$session&lt;/span&gt;-&amp;gt;&lt;span style=&quot;color: #dcdcaa;&quot;&gt;get&lt;/span&gt;(&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;is_loggedin&#39;&lt;/span&gt;)) { &lt;/div&gt;&lt;div style=&quot;font-size: 14px;&quot;&gt;            &lt;/div&gt;&lt;div style=&quot;font-size: 14px;&quot;&gt;        &lt;span style=&quot;color: #c586c0;&quot;&gt;return&lt;/span&gt; &lt;span style=&quot;color: #dcdcaa;&quot;&gt;view&lt;/span&gt;(&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;loginform&#39;&lt;/span&gt;);&lt;/div&gt;&lt;div style=&quot;font-size: 14px;&quot;&gt;        }&lt;/div&gt;&lt;div style=&quot;font-size: 14px;&quot;&gt;        &lt;span style=&quot;color: #c586c0;&quot;&gt;if&lt;/span&gt; (&lt;span style=&quot;color: #569cd6;&quot;&gt;null&lt;/span&gt; !==&lt;span style=&quot;color: #9cdcfe;&quot;&gt;$session&lt;/span&gt;-&amp;gt;&lt;span style=&quot;color: #dcdcaa;&quot;&gt;get&lt;/span&gt;(&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;is_loggedin&#39;&lt;/span&gt;)) { &lt;/div&gt;&lt;div style=&quot;font-size: 14px;&quot;&gt;          &lt;span style=&quot;color: #c586c0;&quot;&gt;return&lt;/span&gt; &lt;span style=&quot;color: #dcdcaa;&quot;&gt;redirect&lt;/span&gt;()-&amp;gt;&lt;span style=&quot;color: #dcdcaa;&quot;&gt;to&lt;/span&gt;(&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;userdata&#39;&lt;/span&gt;);&lt;/div&gt;&lt;div style=&quot;font-size: 14px;&quot;&gt;        }&lt;/div&gt;&lt;div style=&quot;font-size: 14px;&quot;&gt;        &lt;/div&gt;&lt;div style=&quot;font-size: 14px;&quot;&gt;    }&lt;/div&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;div style=&quot;font-size: 14px;&quot;&gt;    &lt;span style=&quot;color: #569cd6;&quot;&gt;public&lt;/span&gt; &lt;span style=&quot;color: #569cd6;&quot;&gt;function&lt;/span&gt; &lt;span style=&quot;color: #dcdcaa;&quot;&gt;logindata&lt;/span&gt;(){&lt;/div&gt;&lt;div style=&quot;font-size: 14px;&quot;&gt;        &lt;span style=&quot;color: #9cdcfe;&quot;&gt;$session&lt;/span&gt; = &lt;span style=&quot;color: #dcdcaa;&quot;&gt;session&lt;/span&gt;();&lt;/div&gt;&lt;div style=&quot;font-size: 14px;&quot;&gt;        &lt;span style=&quot;color: #9cdcfe;&quot;&gt;$rules&lt;/span&gt; = [&lt;/div&gt;&lt;div style=&quot;font-size: 14px;&quot;&gt;            &lt;/div&gt;&lt;div style=&quot;font-size: 14px;&quot;&gt;            &lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;email&#39;&lt;/span&gt;    =&amp;gt; &lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;required|max_length[254]|valid_email&#39;&lt;/span&gt;,&lt;/div&gt;&lt;div style=&quot;font-size: 14px;&quot;&gt;            &lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;password&#39;&lt;/span&gt; =&amp;gt; &lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;required&#39;&lt;/span&gt;,&lt;/div&gt;&lt;div style=&quot;font-size: 14px;&quot;&gt;        ];&lt;/div&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;div style=&quot;font-size: 14px;&quot;&gt;        &lt;span style=&quot;color: #c586c0;&quot;&gt;if&lt;/span&gt;(!&lt;span style=&quot;color: #569cd6;&quot;&gt;$this&lt;/span&gt;-&amp;gt;&lt;span style=&quot;color: #dcdcaa;&quot;&gt;validate&lt;/span&gt;(&lt;span style=&quot;color: #9cdcfe;&quot;&gt;$rules&lt;/span&gt;)){&lt;/div&gt;&lt;div style=&quot;font-size: 14px;&quot;&gt;            &lt;span style=&quot;color: #9cdcfe;&quot;&gt;$data&lt;/span&gt;[&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;validation&#39;&lt;/span&gt;] = &lt;span style=&quot;color: #569cd6;&quot;&gt;$this&lt;/span&gt;-&amp;gt;&lt;span style=&quot;color: #9cdcfe;&quot;&gt;validator&lt;/span&gt;;&lt;/div&gt;&lt;div style=&quot;font-size: 14px;&quot;&gt;            &lt;span style=&quot;color: #c586c0;&quot;&gt;return&lt;/span&gt; &lt;span style=&quot;color: #dcdcaa;&quot;&gt;view&lt;/span&gt;(&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;loginform&#39;&lt;/span&gt;, &lt;span style=&quot;color: #9cdcfe;&quot;&gt;$data&lt;/span&gt;);&lt;/div&gt;&lt;div style=&quot;font-size: 14px;&quot;&gt;        }&lt;span style=&quot;color: #c586c0;&quot;&gt;else&lt;/span&gt;{ &lt;/div&gt;&lt;div style=&quot;font-size: 14px;&quot;&gt;             &lt;span style=&quot;color: #9cdcfe;&quot;&gt;$email&lt;/span&gt; = &lt;span style=&quot;color: #569cd6;&quot;&gt;$this&lt;/span&gt;-&amp;gt;&lt;span style=&quot;color: #9cdcfe;&quot;&gt;request&lt;/span&gt;-&amp;gt;&lt;span style=&quot;color: #dcdcaa;&quot;&gt;getPost&lt;/span&gt;(&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;email&#39;&lt;/span&gt;);&lt;/div&gt;&lt;div style=&quot;font-size: 14px;&quot;&gt;             &lt;span style=&quot;color: #9cdcfe;&quot;&gt;$password&lt;/span&gt; = &lt;span style=&quot;color: #569cd6;&quot;&gt;$this&lt;/span&gt;-&amp;gt;&lt;span style=&quot;color: #9cdcfe;&quot;&gt;request&lt;/span&gt;-&amp;gt;&lt;span style=&quot;color: #dcdcaa;&quot;&gt;getPost&lt;/span&gt;(&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;password&#39;&lt;/span&gt;);&lt;/div&gt;&lt;div style=&quot;font-size: 14px;&quot;&gt;             &lt;/div&gt;&lt;div style=&quot;font-size: 14px;&quot;&gt;             &lt;span style=&quot;color: #9cdcfe;&quot;&gt;$data&lt;/span&gt; = &lt;span style=&quot;color: #dcdcaa;&quot;&gt;isLogged&lt;/span&gt;(&lt;span style=&quot;color: #9cdcfe;&quot;&gt;$email&lt;/span&gt;,&lt;span style=&quot;color: #9cdcfe;&quot;&gt;$password&lt;/span&gt;);&lt;/div&gt;&lt;div style=&quot;font-size: 14px;&quot;&gt;              &lt;span style=&quot;color: #9cdcfe;&quot;&gt;$session&lt;/span&gt;-&amp;gt;&lt;span style=&quot;color: #dcdcaa;&quot;&gt;set&lt;/span&gt;(&lt;span style=&quot;color: #9cdcfe;&quot;&gt;$data&lt;/span&gt;);&lt;/div&gt;&lt;div style=&quot;font-size: 14px;&quot;&gt;             &lt;/div&gt;&lt;div style=&quot;font-size: 14px;&quot;&gt;             &lt;span style=&quot;color: #c586c0;&quot;&gt;if&lt;/span&gt;(&lt;span style=&quot;color: #dcdcaa;&quot;&gt;isset&lt;/span&gt;(&lt;span style=&quot;color: #9cdcfe;&quot;&gt;$data&lt;/span&gt;) &amp;amp;&amp;amp; !&lt;span style=&quot;color: #dcdcaa;&quot;&gt;empty&lt;/span&gt;(&lt;span style=&quot;color: #9cdcfe;&quot;&gt;$data&lt;/span&gt;)){&lt;/div&gt;&lt;div style=&quot;font-size: 14px;&quot;&gt;                 &lt;span style=&quot;color: #c586c0;&quot;&gt;return&lt;/span&gt; &lt;span style=&quot;color: #dcdcaa;&quot;&gt;redirect&lt;/span&gt;()-&amp;gt;&lt;span style=&quot;color: #dcdcaa;&quot;&gt;to&lt;/span&gt;(&lt;span style=&quot;color: #dcdcaa;&quot;&gt;base_url&lt;/span&gt;(&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;userdata&#39;&lt;/span&gt;));&lt;/div&gt;&lt;div style=&quot;font-size: 14px;&quot;&gt;             }&lt;span style=&quot;color: #c586c0;&quot;&gt;else&lt;/span&gt;{&lt;/div&gt;&lt;div style=&quot;font-size: 14px;&quot;&gt;                 &lt;span style=&quot;color: #c586c0;&quot;&gt;return&lt;/span&gt; &lt;span style=&quot;color: #dcdcaa;&quot;&gt;redirect&lt;/span&gt;()-&amp;gt;&lt;span style=&quot;color: #dcdcaa;&quot;&gt;to&lt;/span&gt;(&lt;span style=&quot;color: #dcdcaa;&quot;&gt;base_url&lt;/span&gt;(&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;/login&#39;&lt;/span&gt;));&lt;/div&gt;&lt;div style=&quot;font-size: 14px;&quot;&gt;             }&lt;/div&gt;&lt;div style=&quot;font-size: 14px;&quot;&gt;        }&lt;/div&gt;&lt;div style=&quot;font-size: 14px;&quot;&gt;     &lt;/div&gt;&lt;div style=&quot;font-size: 14px;&quot;&gt;    &lt;/div&gt;&lt;div style=&quot;font-size: 14px;&quot;&gt;    }&lt;/div&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;div style=&quot;font-size: 14px;&quot;&gt;    &lt;span style=&quot;color: #569cd6;&quot;&gt;public&lt;/span&gt; &lt;span style=&quot;color: #569cd6;&quot;&gt;function&lt;/span&gt; &lt;span style=&quot;color: #dcdcaa;&quot;&gt;logout&lt;/span&gt;(){&lt;/div&gt;&lt;div style=&quot;font-size: 14px;&quot;&gt;       &lt;/div&gt;&lt;div style=&quot;font-size: 14px;&quot;&gt;        &lt;span style=&quot;color: #9cdcfe;&quot;&gt;$session&lt;/span&gt; = &lt;span style=&quot;color: #dcdcaa;&quot;&gt;session&lt;/span&gt;();&lt;/div&gt;&lt;div style=&quot;font-size: 14px;&quot;&gt;        &lt;span style=&quot;color: #c586c0;&quot;&gt;if&lt;/span&gt;(&lt;span style=&quot;color: #569cd6;&quot;&gt;null&lt;/span&gt; !== &lt;span style=&quot;color: #9cdcfe;&quot;&gt;$session&lt;/span&gt;-&amp;gt;&lt;span style=&quot;color: #dcdcaa;&quot;&gt;get&lt;/span&gt;(&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;is_loggedin&#39;&lt;/span&gt;)){&lt;/div&gt;&lt;div style=&quot;font-size: 14px;&quot;&gt;             &lt;span style=&quot;color: #9cdcfe;&quot;&gt;$session&lt;/span&gt;-&amp;gt;&lt;span style=&quot;color: #dcdcaa;&quot;&gt;destroy&lt;/span&gt;();&lt;/div&gt;&lt;div style=&quot;font-size: 14px;&quot;&gt;             &lt;span style=&quot;color: #c586c0;&quot;&gt;return&lt;/span&gt; &lt;span style=&quot;color: #dcdcaa;&quot;&gt;redirect&lt;/span&gt;()-&amp;gt;&lt;span style=&quot;color: #dcdcaa;&quot;&gt;to&lt;/span&gt;(&lt;span style=&quot;color: #dcdcaa;&quot;&gt;base_url&lt;/span&gt;(&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;login&#39;&lt;/span&gt;));&lt;/div&gt;&lt;div style=&quot;font-size: 14px;&quot;&gt;        }&lt;/div&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;div style=&quot;font-size: 14px;&quot;&gt;        &lt;/div&gt;&lt;div style=&quot;font-size: 14px;&quot;&gt;    }&lt;/div&gt;&lt;div style=&quot;font-size: 14px;&quot;&gt;}&lt;/div&gt;&lt;/div&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;Step 6 - Create Controller Home.php for Registration :&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;&lt;div style=&quot;background-color: #1e1e1e; color: #d4d4d4; font-family: &amp;quot;Droid Sans Mono&amp;quot;, &amp;quot;monospace&amp;quot;, monospace; font-size: 14px; line-height: 19px; white-space: pre;&quot;&gt;&lt;div&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;&amp;lt;?php&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;namespace&lt;/span&gt; &lt;span style=&quot;color: #4ec9b0;&quot;&gt;App\Controllers&lt;/span&gt;;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;use&lt;/span&gt; App\Models\&lt;span style=&quot;color: #4ec9b0;&quot;&gt;UsersModel&lt;/span&gt;;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;class&lt;/span&gt; &lt;span style=&quot;color: #4ec9b0;&quot;&gt;Home&lt;/span&gt; &lt;span style=&quot;color: #569cd6;&quot;&gt;extends&lt;/span&gt; &lt;span style=&quot;color: #4ec9b0;&quot;&gt;BaseController&lt;/span&gt;&lt;/div&gt;&lt;div&gt;{&lt;/div&gt;&lt;div&gt;    &lt;span style=&quot;color: #569cd6;&quot;&gt;public&lt;/span&gt; &lt;span style=&quot;color: #569cd6;&quot;&gt;function&lt;/span&gt; &lt;span style=&quot;color: #dcdcaa;&quot;&gt;index&lt;/span&gt;()&lt;/div&gt;&lt;div&gt;    {&lt;/div&gt;&lt;div&gt;        &lt;span style=&quot;color: #9cdcfe;&quot;&gt;$model&lt;/span&gt; = &lt;span style=&quot;color: #569cd6;&quot;&gt;new&lt;/span&gt; &lt;span style=&quot;color: #4ec9b0;&quot;&gt;usersModel&lt;/span&gt;();&lt;/div&gt;&lt;div&gt;        &lt;span style=&quot;color: #9cdcfe;&quot;&gt;$data&lt;/span&gt;[&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;records&#39;&lt;/span&gt;] = &lt;span style=&quot;color: #9cdcfe;&quot;&gt;$model&lt;/span&gt;-&amp;gt;&lt;span style=&quot;color: #dcdcaa;&quot;&gt;where&lt;/span&gt;(&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;is_deleted&#39;&lt;/span&gt;,&lt;span style=&quot;color: #b5cea8;&quot;&gt;0&lt;/span&gt;)-&amp;gt;&lt;span style=&quot;color: #dcdcaa;&quot;&gt;findAll&lt;/span&gt;();&lt;/div&gt;&lt;div&gt;        &lt;span style=&quot;color: #c586c0;&quot;&gt;return&lt;/span&gt; &lt;span style=&quot;color: #dcdcaa;&quot;&gt;view&lt;/span&gt;(&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;welcome_message&#39;&lt;/span&gt;,&lt;span style=&quot;color: #9cdcfe;&quot;&gt;$data&lt;/span&gt;);&lt;/div&gt;&lt;div&gt;        &lt;/div&gt;&lt;div&gt;    }&lt;/div&gt;&lt;br /&gt;&lt;div&gt;    &lt;span style=&quot;color: #569cd6;&quot;&gt;public&lt;/span&gt; &lt;span style=&quot;color: #569cd6;&quot;&gt;function&lt;/span&gt; &lt;span style=&quot;color: #dcdcaa;&quot;&gt;form&lt;/span&gt;(){&lt;/div&gt;&lt;div&gt;        &lt;span style=&quot;color: #9cdcfe;&quot;&gt;$session&lt;/span&gt; = &lt;span style=&quot;color: #dcdcaa;&quot;&gt;session&lt;/span&gt;();&lt;/div&gt;&lt;div&gt;        &lt;span style=&quot;color: #c586c0;&quot;&gt;if&lt;/span&gt; (&lt;span style=&quot;color: #569cd6;&quot;&gt;null&lt;/span&gt; ===&lt;span style=&quot;color: #9cdcfe;&quot;&gt;$session&lt;/span&gt;-&amp;gt;&lt;span style=&quot;color: #dcdcaa;&quot;&gt;get&lt;/span&gt;(&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;is_loggedin&#39;&lt;/span&gt;)) { &lt;/div&gt;&lt;div&gt;            &lt;/div&gt;&lt;div&gt;            &lt;span style=&quot;color: #c586c0;&quot;&gt;return&lt;/span&gt; &lt;span style=&quot;color: #dcdcaa;&quot;&gt;view&lt;/span&gt;(&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;form&#39;&lt;/span&gt;);&lt;/div&gt;&lt;div&gt;            }&lt;/div&gt;&lt;div&gt;         &lt;span style=&quot;color: #c586c0;&quot;&gt;if&lt;/span&gt; (&lt;span style=&quot;color: #569cd6;&quot;&gt;null&lt;/span&gt; !==&lt;span style=&quot;color: #9cdcfe;&quot;&gt;$session&lt;/span&gt;-&amp;gt;&lt;span style=&quot;color: #dcdcaa;&quot;&gt;get&lt;/span&gt;(&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;is_loggedin&#39;&lt;/span&gt;)) { &lt;/div&gt;&lt;div&gt;            &lt;/div&gt;&lt;div&gt;                &lt;span style=&quot;color: #c586c0;&quot;&gt;return&lt;/span&gt; &lt;span style=&quot;color: #dcdcaa;&quot;&gt;redirect&lt;/span&gt;()-&amp;gt;&lt;span style=&quot;color: #dcdcaa;&quot;&gt;to&lt;/span&gt;(&lt;span style=&quot;color: #dcdcaa;&quot;&gt;base_url&lt;/span&gt;(&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;userdata&#39;&lt;/span&gt;));&lt;/div&gt;&lt;div&gt;          }&lt;/div&gt;&lt;div&gt;    }&lt;/div&gt;&lt;br /&gt;&lt;div&gt;    &lt;span style=&quot;color: #569cd6;&quot;&gt;public&lt;/span&gt; &lt;span style=&quot;color: #569cd6;&quot;&gt;function&lt;/span&gt; &lt;span style=&quot;color: #dcdcaa;&quot;&gt;savedata&lt;/span&gt;(){&lt;/div&gt;&lt;div&gt;        &lt;span style=&quot;color: #9cdcfe;&quot;&gt;$session&lt;/span&gt; = &lt;span style=&quot;color: #dcdcaa;&quot;&gt;session&lt;/span&gt;();&lt;/div&gt;&lt;div&gt;        &lt;span style=&quot;color: #9cdcfe;&quot;&gt;$rules&lt;/span&gt; = [&lt;/div&gt;&lt;div&gt;            &lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;name&#39;&lt;/span&gt; =&amp;gt; &lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;required|max_length[30]&#39;&lt;/span&gt;,&lt;/div&gt;&lt;div&gt;            &lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;email&#39;&lt;/span&gt;    =&amp;gt; &lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;required|max_length[254]|valid_email&#39;&lt;/span&gt;,&lt;/div&gt;&lt;div&gt;            &lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;phone&#39;&lt;/span&gt; =&amp;gt; &lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;required|numeric|max_length[10]&#39;&lt;/span&gt;,&lt;/div&gt;&lt;div&gt;            &lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;password&#39;&lt;/span&gt; =&amp;gt;&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;required&#39;&lt;/span&gt;,&lt;/div&gt;&lt;div&gt;            &lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;file&#39;&lt;/span&gt; =&amp;gt; [&lt;/div&gt;&lt;div&gt;                &lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;uploaded[file]&#39;&lt;/span&gt;,&lt;/div&gt;&lt;div&gt;                &lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;mime_in[file,image/jpg,image/jpeg,image/png,image/gif]&#39;&lt;/span&gt;,&lt;/div&gt;&lt;div&gt;                &lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;max_size[file,4096]&#39;&lt;/span&gt;,&lt;/div&gt;&lt;div&gt;            ]&lt;/div&gt;&lt;div&gt;        ];&lt;/div&gt;&lt;br /&gt;&lt;div&gt;        &lt;span style=&quot;color: #c586c0;&quot;&gt;if&lt;/span&gt;(!&lt;span style=&quot;color: #569cd6;&quot;&gt;$this&lt;/span&gt;-&amp;gt;&lt;span style=&quot;color: #dcdcaa;&quot;&gt;validate&lt;/span&gt;(&lt;span style=&quot;color: #9cdcfe;&quot;&gt;$rules&lt;/span&gt;)){&lt;/div&gt;&lt;div&gt;            &lt;span style=&quot;color: #9cdcfe;&quot;&gt;$data&lt;/span&gt;[&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;validation&#39;&lt;/span&gt;] = &lt;span style=&quot;color: #569cd6;&quot;&gt;$this&lt;/span&gt;-&amp;gt;&lt;span style=&quot;color: #9cdcfe;&quot;&gt;validator&lt;/span&gt;;&lt;/div&gt;&lt;div&gt;            &lt;span style=&quot;color: #c586c0;&quot;&gt;return&lt;/span&gt; &lt;span style=&quot;color: #dcdcaa;&quot;&gt;view&lt;/span&gt;(&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;form&#39;&lt;/span&gt;, &lt;span style=&quot;color: #9cdcfe;&quot;&gt;$data&lt;/span&gt;);&lt;/div&gt;&lt;div&gt;        }&lt;span style=&quot;color: #c586c0;&quot;&gt;else&lt;/span&gt;{ &lt;/div&gt;&lt;div&gt;         &lt;span style=&quot;color: #9cdcfe;&quot;&gt;$email&lt;/span&gt; = &lt;span style=&quot;color: #569cd6;&quot;&gt;$this&lt;/span&gt;-&amp;gt;&lt;span style=&quot;color: #9cdcfe;&quot;&gt;request&lt;/span&gt;-&amp;gt;&lt;span style=&quot;color: #dcdcaa;&quot;&gt;getPost&lt;/span&gt;(&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;email&#39;&lt;/span&gt;);&lt;/div&gt;&lt;div&gt;        &lt;span style=&quot;color: #9cdcfe;&quot;&gt;$model&lt;/span&gt; = &lt;span style=&quot;color: #569cd6;&quot;&gt;new&lt;/span&gt; &lt;span style=&quot;color: #4ec9b0;&quot;&gt;usersModel&lt;/span&gt;();&lt;/div&gt;&lt;div&gt;        &lt;span style=&quot;color: #9cdcfe;&quot;&gt;$data&lt;/span&gt; = &lt;span style=&quot;color: #9cdcfe;&quot;&gt;$model&lt;/span&gt;-&amp;gt;&lt;span style=&quot;color: #dcdcaa;&quot;&gt;where&lt;/span&gt;(&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;is_deleted&#39;&lt;/span&gt;,&lt;span style=&quot;color: #b5cea8;&quot;&gt;0&lt;/span&gt;)-&amp;gt;&lt;span style=&quot;color: #dcdcaa;&quot;&gt;where&lt;/span&gt;(&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;email&#39;&lt;/span&gt;,&lt;span style=&quot;color: #9cdcfe;&quot;&gt;$email&lt;/span&gt;)-&amp;gt;&lt;span style=&quot;color: #dcdcaa;&quot;&gt;findAll&lt;/span&gt;();&lt;/div&gt;&lt;div&gt;        &lt;span style=&quot;color: #c586c0;&quot;&gt;if&lt;/span&gt;(!&lt;span style=&quot;color: #dcdcaa;&quot;&gt;empty&lt;/span&gt;(&lt;span style=&quot;color: #9cdcfe;&quot;&gt;$data&lt;/span&gt;)){&lt;/div&gt;&lt;div&gt;            &lt;span style=&quot;color: #dcdcaa;&quot;&gt;session&lt;/span&gt;()-&amp;gt;&lt;span style=&quot;color: #dcdcaa;&quot;&gt;setFlashdata&lt;/span&gt;(&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;exist&#39;&lt;/span&gt;,&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;Email already exist.............&#39;&lt;/span&gt;);&lt;/div&gt;&lt;div&gt;            &lt;span style=&quot;color: #c586c0;&quot;&gt;return&lt;/span&gt; &lt;span style=&quot;color: #dcdcaa;&quot;&gt;redirect&lt;/span&gt;()-&amp;gt;&lt;span style=&quot;color: #dcdcaa;&quot;&gt;to&lt;/span&gt;(&lt;span style=&quot;color: #dcdcaa;&quot;&gt;base_url&lt;/span&gt;(&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;/form&#39;&lt;/span&gt;));&lt;/div&gt;&lt;br /&gt;&lt;div&gt;        }&lt;span style=&quot;color: #c586c0;&quot;&gt;else&lt;/span&gt;{&lt;/div&gt;&lt;div&gt;           &lt;/div&gt;&lt;div&gt;            &lt;span style=&quot;color: #9cdcfe;&quot;&gt;$name&lt;/span&gt; = &lt;span style=&quot;color: #569cd6;&quot;&gt;$this&lt;/span&gt;-&amp;gt;&lt;span style=&quot;color: #9cdcfe;&quot;&gt;request&lt;/span&gt;-&amp;gt;&lt;span style=&quot;color: #dcdcaa;&quot;&gt;getPost&lt;/span&gt;(&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;name&#39;&lt;/span&gt;);&lt;/div&gt;&lt;div&gt;            &lt;span style=&quot;color: #9cdcfe;&quot;&gt;$phone&lt;/span&gt; = &lt;span style=&quot;color: #569cd6;&quot;&gt;$this&lt;/span&gt;-&amp;gt;&lt;span style=&quot;color: #9cdcfe;&quot;&gt;request&lt;/span&gt;-&amp;gt;&lt;span style=&quot;color: #dcdcaa;&quot;&gt;getPost&lt;/span&gt;(&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;phone&#39;&lt;/span&gt;);&lt;/div&gt;&lt;div&gt;            &lt;span style=&quot;color: #9cdcfe;&quot;&gt;$password&lt;/span&gt; = &lt;span style=&quot;color: #569cd6;&quot;&gt;$this&lt;/span&gt;-&amp;gt;&lt;span style=&quot;color: #9cdcfe;&quot;&gt;request&lt;/span&gt;-&amp;gt;&lt;span style=&quot;color: #dcdcaa;&quot;&gt;getPost&lt;/span&gt;(&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;password&#39;&lt;/span&gt;);&lt;/div&gt;&lt;div&gt;            &lt;span style=&quot;color: #9cdcfe;&quot;&gt;$file&lt;/span&gt; = &lt;span style=&quot;color: #569cd6;&quot;&gt;$this&lt;/span&gt;-&amp;gt;&lt;span style=&quot;color: #9cdcfe;&quot;&gt;request&lt;/span&gt;-&amp;gt;&lt;span style=&quot;color: #dcdcaa;&quot;&gt;getFile&lt;/span&gt;(&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;file&#39;&lt;/span&gt;);&lt;/div&gt;&lt;div&gt;            &lt;span style=&quot;color: #9cdcfe;&quot;&gt;$fname&lt;/span&gt; = &lt;span style=&quot;color: #9cdcfe;&quot;&gt;$file&lt;/span&gt;-&amp;gt;&lt;span style=&quot;color: #dcdcaa;&quot;&gt;getName&lt;/span&gt;();&lt;/div&gt;&lt;div&gt;        &lt;/div&gt;&lt;div&gt;            &lt;span style=&quot;color: #9cdcfe;&quot;&gt;$file&lt;/span&gt;-&amp;gt;&lt;span style=&quot;color: #dcdcaa;&quot;&gt;move&lt;/span&gt;(&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;../public/assets/uploads&quot;&lt;/span&gt;);&lt;/div&gt;&lt;div&gt;            &lt;span style=&quot;color: #dcdcaa;&quot;&gt;chmod&lt;/span&gt;(&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;../public/assets/uploads/&quot;&lt;/span&gt;.&lt;span style=&quot;color: #9cdcfe;&quot;&gt;$fname&lt;/span&gt;,&lt;span style=&quot;color: #b5cea8;&quot;&gt;0777&lt;/span&gt;);&lt;/div&gt;&lt;div&gt;    &lt;/div&gt;&lt;div&gt;            &lt;span style=&quot;color: #9cdcfe;&quot;&gt;$data&lt;/span&gt; = &lt;span style=&quot;color: #dcdcaa;&quot;&gt;array&lt;/span&gt;(&lt;/div&gt;&lt;div&gt;                &lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;name&#39;&lt;/span&gt; =&amp;gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;$name&lt;/span&gt;,&lt;/div&gt;&lt;div&gt;                &lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;email&#39;&lt;/span&gt; =&amp;gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;$email&lt;/span&gt;,&lt;/div&gt;&lt;div&gt;                &lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;mobile&#39;&lt;/span&gt; =&amp;gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;$phone&lt;/span&gt;,&lt;/div&gt;&lt;div&gt;                &lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;password&#39;&lt;/span&gt; =&amp;gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;$password&lt;/span&gt;,&lt;/div&gt;&lt;div&gt;                &lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;img_name&#39;&lt;/span&gt; =&amp;gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;$fname&lt;/span&gt;&lt;/div&gt;&lt;div&gt;            );&lt;/div&gt;&lt;div&gt;            &lt;span style=&quot;color: #9cdcfe;&quot;&gt;$model&lt;/span&gt; = &lt;span style=&quot;color: #569cd6;&quot;&gt;new&lt;/span&gt; &lt;span style=&quot;color: #4ec9b0;&quot;&gt;UsersModel&lt;/span&gt;();&lt;/div&gt;&lt;div&gt;            &lt;span style=&quot;color: #9cdcfe;&quot;&gt;$save&lt;/span&gt; = &lt;span style=&quot;color: #9cdcfe;&quot;&gt;$model&lt;/span&gt;-&amp;gt;&lt;span style=&quot;color: #dcdcaa;&quot;&gt;insert&lt;/span&gt;(&lt;span style=&quot;color: #9cdcfe;&quot;&gt;$data&lt;/span&gt;);&lt;/div&gt;&lt;div&gt;    &lt;/div&gt;&lt;div&gt;            &lt;span style=&quot;color: #c586c0;&quot;&gt;if&lt;/span&gt;(&lt;span style=&quot;color: #dcdcaa;&quot;&gt;isset&lt;/span&gt;(&lt;span style=&quot;color: #9cdcfe;&quot;&gt;$save&lt;/span&gt;)){&lt;/div&gt;&lt;div&gt;    &lt;/div&gt;&lt;div&gt;                &lt;span style=&quot;color: #dcdcaa;&quot;&gt;session&lt;/span&gt;()-&amp;gt;&lt;span style=&quot;color: #dcdcaa;&quot;&gt;setFlashdata&lt;/span&gt;(&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;added&#39;&lt;/span&gt;,&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;Record added successfully. Please Login.....&#39;&lt;/span&gt;);&lt;/div&gt;&lt;div&gt;             &lt;span style=&quot;color: #c586c0;&quot;&gt;return&lt;/span&gt; &lt;span style=&quot;color: #dcdcaa;&quot;&gt;redirect&lt;/span&gt;()-&amp;gt;&lt;span style=&quot;color: #dcdcaa;&quot;&gt;to&lt;/span&gt;(&lt;span style=&quot;color: #dcdcaa;&quot;&gt;base_url&lt;/span&gt;(&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;/form&#39;&lt;/span&gt;));&lt;/div&gt;&lt;div&gt;            }&lt;/div&gt;&lt;div&gt;        }&lt;/div&gt;&lt;br /&gt;&lt;div&gt;    &lt;/div&gt;&lt;div&gt;    }&lt;/div&gt;&lt;div&gt;       &lt;/div&gt;&lt;div&gt;    }&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;div&gt;    &lt;span style=&quot;color: #569cd6;&quot;&gt;public&lt;/span&gt; &lt;span style=&quot;color: #569cd6;&quot;&gt;function&lt;/span&gt; &lt;span style=&quot;color: #dcdcaa;&quot;&gt;Edit&lt;/span&gt;(&lt;span style=&quot;color: #9cdcfe;&quot;&gt;$id&lt;/span&gt;=&lt;span style=&quot;color: #569cd6;&quot;&gt;null&lt;/span&gt;){&lt;/div&gt;&lt;div&gt;         &lt;span style=&quot;color: #9cdcfe;&quot;&gt;$model&lt;/span&gt; = &lt;span style=&quot;color: #569cd6;&quot;&gt;new&lt;/span&gt; &lt;span style=&quot;color: #4ec9b0;&quot;&gt;usersModel&lt;/span&gt;();&lt;/div&gt;&lt;br /&gt;&lt;div&gt;         &lt;span style=&quot;color: #9cdcfe;&quot;&gt;$data&lt;/span&gt;[&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;data&#39;&lt;/span&gt;] = &lt;span style=&quot;color: #9cdcfe;&quot;&gt;$model&lt;/span&gt;-&amp;gt;&lt;span style=&quot;color: #dcdcaa;&quot;&gt;where&lt;/span&gt;(&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;id&#39;&lt;/span&gt;,&lt;span style=&quot;color: #9cdcfe;&quot;&gt;$id&lt;/span&gt;)-&amp;gt;&lt;span style=&quot;color: #dcdcaa;&quot;&gt;where&lt;/span&gt;(&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;is_deleted&#39;&lt;/span&gt;,&lt;span style=&quot;color: #b5cea8;&quot;&gt;0&lt;/span&gt;)-&amp;gt;&lt;span style=&quot;color: #dcdcaa;&quot;&gt;findAll&lt;/span&gt;()[&lt;span style=&quot;color: #b5cea8;&quot;&gt;0&lt;/span&gt;];&lt;/div&gt;&lt;div&gt;        &lt;span style=&quot;color: #c586c0;&quot;&gt;return&lt;/span&gt; &lt;span style=&quot;color: #dcdcaa;&quot;&gt;view&lt;/span&gt;(&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;editform&#39;&lt;/span&gt;,&lt;span style=&quot;color: #9cdcfe;&quot;&gt;$data&lt;/span&gt;);&lt;/div&gt;&lt;div&gt;    }&lt;/div&gt;&lt;br /&gt;&lt;div&gt;    &lt;span style=&quot;color: #569cd6;&quot;&gt;public&lt;/span&gt; &lt;span style=&quot;color: #569cd6;&quot;&gt;function&lt;/span&gt; &lt;span style=&quot;color: #dcdcaa;&quot;&gt;updatedata&lt;/span&gt;(&lt;span style=&quot;color: #9cdcfe;&quot;&gt;$id&lt;/span&gt;=&lt;span style=&quot;color: #569cd6;&quot;&gt;null&lt;/span&gt;){&lt;/div&gt;&lt;div&gt;        &lt;span style=&quot;color: #9cdcfe;&quot;&gt;$session&lt;/span&gt; = &lt;span style=&quot;color: #dcdcaa;&quot;&gt;session&lt;/span&gt;();&lt;/div&gt;&lt;div&gt;                &lt;span style=&quot;color: #9cdcfe;&quot;&gt;$model&lt;/span&gt; = &lt;span style=&quot;color: #569cd6;&quot;&gt;new&lt;/span&gt; &lt;span style=&quot;color: #4ec9b0;&quot;&gt;usersModel&lt;/span&gt;();&lt;/div&gt;&lt;div&gt;                &lt;/div&gt;&lt;div&gt;                &lt;span style=&quot;color: #9cdcfe;&quot;&gt;$rules&lt;/span&gt; = [&lt;/div&gt;&lt;div&gt;                    &lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;name&#39;&lt;/span&gt; =&amp;gt; &lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;required|max_length[30]&#39;&lt;/span&gt;,&lt;/div&gt;&lt;div&gt;                    &lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;email&#39;&lt;/span&gt;    =&amp;gt; &lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;required|max_length[254]|valid_email&#39;&lt;/span&gt;,&lt;/div&gt;&lt;div&gt;                    &lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;phone&#39;&lt;/span&gt; =&amp;gt; &lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;required|numeric|max_length[10]&#39;&lt;/span&gt;,&lt;/div&gt;&lt;div&gt;                    &lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;password&#39;&lt;/span&gt; =&amp;gt; &lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;required&#39;&lt;/span&gt;,&lt;/div&gt;&lt;div&gt;                    &lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;file&#39;&lt;/span&gt; =&amp;gt; [&lt;/div&gt;&lt;div&gt;                        &lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;uploaded[file]&#39;&lt;/span&gt;,&lt;/div&gt;&lt;div&gt;                        &lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;mime_in[file,image/jpg,image/jpeg,image/png,image/gif]&#39;&lt;/span&gt;,&lt;/div&gt;&lt;div&gt;                        &lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;max_size[file,4096]&#39;&lt;/span&gt;,&lt;/div&gt;&lt;div&gt;                    ]&lt;/div&gt;&lt;div&gt;                ];&lt;/div&gt;&lt;div&gt;                &lt;/div&gt;&lt;div&gt;                &lt;span style=&quot;color: #c586c0;&quot;&gt;if&lt;/span&gt;(!&lt;span style=&quot;color: #569cd6;&quot;&gt;$this&lt;/span&gt;-&amp;gt;&lt;span style=&quot;color: #dcdcaa;&quot;&gt;validate&lt;/span&gt;(&lt;span style=&quot;color: #9cdcfe;&quot;&gt;$rules&lt;/span&gt;)){&lt;/div&gt;&lt;div&gt;                    &lt;span style=&quot;color: #9cdcfe;&quot;&gt;$data&lt;/span&gt;[&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;validation&#39;&lt;/span&gt;] = &lt;span style=&quot;color: #569cd6;&quot;&gt;$this&lt;/span&gt;-&amp;gt;&lt;span style=&quot;color: #9cdcfe;&quot;&gt;validator&lt;/span&gt;;&lt;/div&gt;&lt;div&gt;                    &lt;span style=&quot;color: #9cdcfe;&quot;&gt;$model&lt;/span&gt; = &lt;span style=&quot;color: #569cd6;&quot;&gt;new&lt;/span&gt; &lt;span style=&quot;color: #4ec9b0;&quot;&gt;usersModel&lt;/span&gt;();&lt;/div&gt;&lt;div&gt;                    &lt;span style=&quot;color: #9cdcfe;&quot;&gt;$data&lt;/span&gt;[&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;data&#39;&lt;/span&gt;] = &lt;span style=&quot;color: #9cdcfe;&quot;&gt;$model&lt;/span&gt;-&amp;gt;&lt;span style=&quot;color: #dcdcaa;&quot;&gt;where&lt;/span&gt;(&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;id&#39;&lt;/span&gt;,&lt;span style=&quot;color: #9cdcfe;&quot;&gt;$id&lt;/span&gt;)-&amp;gt;&lt;span style=&quot;color: #dcdcaa;&quot;&gt;where&lt;/span&gt;(&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;is_deleted&#39;&lt;/span&gt;,&lt;span style=&quot;color: #b5cea8;&quot;&gt;0&lt;/span&gt;)-&amp;gt;&lt;span style=&quot;color: #dcdcaa;&quot;&gt;findAll&lt;/span&gt;()[&lt;span style=&quot;color: #b5cea8;&quot;&gt;0&lt;/span&gt;];&lt;/div&gt;&lt;div&gt;                    &lt;span style=&quot;color: #c586c0;&quot;&gt;return&lt;/span&gt; &lt;span style=&quot;color: #dcdcaa;&quot;&gt;view&lt;/span&gt;(&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;editform&#39;&lt;/span&gt;, &lt;span style=&quot;color: #9cdcfe;&quot;&gt;$data&lt;/span&gt;);&lt;/div&gt;&lt;div&gt;                }&lt;span style=&quot;color: #c586c0;&quot;&gt;else&lt;/span&gt;{&lt;/div&gt;&lt;br /&gt;&lt;div&gt;                &lt;span style=&quot;color: #9cdcfe;&quot;&gt;$model&lt;/span&gt; = &lt;span style=&quot;color: #569cd6;&quot;&gt;new&lt;/span&gt; &lt;span style=&quot;color: #4ec9b0;&quot;&gt;usersModel&lt;/span&gt;();&lt;/div&gt;&lt;div&gt;                &lt;span style=&quot;color: #9cdcfe;&quot;&gt;$email&lt;/span&gt; = &lt;span style=&quot;color: #569cd6;&quot;&gt;$this&lt;/span&gt;-&amp;gt;&lt;span style=&quot;color: #9cdcfe;&quot;&gt;request&lt;/span&gt;-&amp;gt;&lt;span style=&quot;color: #dcdcaa;&quot;&gt;getPost&lt;/span&gt;(&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;email&#39;&lt;/span&gt;);&lt;/div&gt;&lt;div&gt;                &lt;span style=&quot;color: #9cdcfe;&quot;&gt;$data&lt;/span&gt; = &lt;span style=&quot;color: #9cdcfe;&quot;&gt;$model&lt;/span&gt;-&amp;gt;&lt;span style=&quot;color: #dcdcaa;&quot;&gt;where&lt;/span&gt;(&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;id !=&#39;&lt;/span&gt;,&lt;span style=&quot;color: #9cdcfe;&quot;&gt;$id&lt;/span&gt;)-&amp;gt;&lt;span style=&quot;color: #dcdcaa;&quot;&gt;where&lt;/span&gt;(&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;is_deleted&#39;&lt;/span&gt;,&lt;span style=&quot;color: #b5cea8;&quot;&gt;0&lt;/span&gt;)-&amp;gt;&lt;span style=&quot;color: #dcdcaa;&quot;&gt;where&lt;/span&gt;(&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;email&#39;&lt;/span&gt;,&lt;span style=&quot;color: #9cdcfe;&quot;&gt;$email&lt;/span&gt;)-&amp;gt;&lt;span style=&quot;color: #dcdcaa;&quot;&gt;findAll&lt;/span&gt;()[&lt;span style=&quot;color: #b5cea8;&quot;&gt;0&lt;/span&gt;];&lt;/div&gt;&lt;div&gt;                &lt;/div&gt;&lt;div&gt;                &lt;span style=&quot;color: #c586c0;&quot;&gt;if&lt;/span&gt;(!&lt;span style=&quot;color: #dcdcaa;&quot;&gt;empty&lt;/span&gt;(&lt;span style=&quot;color: #9cdcfe;&quot;&gt;$data&lt;/span&gt;)){&lt;/div&gt;&lt;div&gt;                    &lt;span style=&quot;color: #dcdcaa;&quot;&gt;session&lt;/span&gt;()-&amp;gt;&lt;span style=&quot;color: #dcdcaa;&quot;&gt;setFlashdata&lt;/span&gt;(&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;exist&#39;&lt;/span&gt;,&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;Email already exist.............&#39;&lt;/span&gt;);&lt;/div&gt;&lt;div&gt;                    &lt;span style=&quot;color: #c586c0;&quot;&gt;return&lt;/span&gt; &lt;span style=&quot;color: #dcdcaa;&quot;&gt;redirect&lt;/span&gt;()-&amp;gt;&lt;span style=&quot;color: #dcdcaa;&quot;&gt;to&lt;/span&gt;(&lt;span style=&quot;color: #dcdcaa;&quot;&gt;base_url&lt;/span&gt;(&lt;span style=&quot;color: #d16969;&quot;&gt;&#39;/edit/&#39;&lt;/span&gt;.&lt;span style=&quot;color: #9cdcfe;&quot;&gt;$id&lt;/span&gt;));&lt;/div&gt;&lt;div&gt;                }&lt;span style=&quot;color: #c586c0;&quot;&gt;else&lt;/span&gt;{&lt;/div&gt;&lt;div&gt;                    &lt;span style=&quot;color: #9cdcfe;&quot;&gt;$name&lt;/span&gt; = &lt;span style=&quot;color: #569cd6;&quot;&gt;$this&lt;/span&gt;-&amp;gt;&lt;span style=&quot;color: #9cdcfe;&quot;&gt;request&lt;/span&gt;-&amp;gt;&lt;span style=&quot;color: #dcdcaa;&quot;&gt;getPost&lt;/span&gt;(&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;name&#39;&lt;/span&gt;);&lt;/div&gt;&lt;div&gt;                    &lt;span style=&quot;color: #9cdcfe;&quot;&gt;$phone&lt;/span&gt; = &lt;span style=&quot;color: #569cd6;&quot;&gt;$this&lt;/span&gt;-&amp;gt;&lt;span style=&quot;color: #9cdcfe;&quot;&gt;request&lt;/span&gt;-&amp;gt;&lt;span style=&quot;color: #dcdcaa;&quot;&gt;getPost&lt;/span&gt;(&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;phone&#39;&lt;/span&gt;);&lt;/div&gt;&lt;div&gt;                    &lt;span style=&quot;color: #9cdcfe;&quot;&gt;$password&lt;/span&gt; = &lt;span style=&quot;color: #569cd6;&quot;&gt;$this&lt;/span&gt;-&amp;gt;&lt;span style=&quot;color: #9cdcfe;&quot;&gt;request&lt;/span&gt;-&amp;gt;&lt;span style=&quot;color: #dcdcaa;&quot;&gt;getPost&lt;/span&gt;(&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;password&#39;&lt;/span&gt;);&lt;/div&gt;&lt;div&gt;                    &lt;span style=&quot;color: #9cdcfe;&quot;&gt;$file&lt;/span&gt; = &lt;span style=&quot;color: #569cd6;&quot;&gt;$this&lt;/span&gt;-&amp;gt;&lt;span style=&quot;color: #9cdcfe;&quot;&gt;request&lt;/span&gt;-&amp;gt;&lt;span style=&quot;color: #dcdcaa;&quot;&gt;getFile&lt;/span&gt;(&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;file&#39;&lt;/span&gt;);&lt;/div&gt;&lt;div&gt;                    &lt;span style=&quot;color: #9cdcfe;&quot;&gt;$filename&lt;/span&gt; = &lt;span style=&quot;color: #9cdcfe;&quot;&gt;$file&lt;/span&gt;-&amp;gt;&lt;span style=&quot;color: #dcdcaa;&quot;&gt;getName&lt;/span&gt;(&lt;span style=&quot;color: #9cdcfe;&quot;&gt;$file&lt;/span&gt;);&lt;/div&gt;&lt;div&gt;    &lt;/div&gt;&lt;div&gt;                    &lt;span style=&quot;color: #9cdcfe;&quot;&gt;$file&lt;/span&gt;-&amp;gt;&lt;span style=&quot;color: #dcdcaa;&quot;&gt;move&lt;/span&gt;(&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;../public/assets/uploads&quot;&lt;/span&gt;);&lt;/div&gt;&lt;div&gt;                    &lt;span style=&quot;color: #dcdcaa;&quot;&gt;chmod&lt;/span&gt;(&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;../public/assets/uploads/&#39;&lt;/span&gt;.&lt;span style=&quot;color: #9cdcfe;&quot;&gt;$filename&lt;/span&gt;,&lt;span style=&quot;color: #b5cea8;&quot;&gt;0777&lt;/span&gt;);&lt;/div&gt;&lt;div&gt;                     &lt;span style=&quot;color: #9cdcfe;&quot;&gt;$data&lt;/span&gt; = &lt;span style=&quot;color: #dcdcaa;&quot;&gt;array&lt;/span&gt;(&lt;/div&gt;&lt;div&gt;                        &lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;id&#39;&lt;/span&gt; =&amp;gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;$id&lt;/span&gt;,&lt;/div&gt;&lt;div&gt;                        &lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;name&#39;&lt;/span&gt; =&amp;gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;$name&lt;/span&gt;,&lt;/div&gt;&lt;div&gt;                        &lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;email&#39;&lt;/span&gt; =&amp;gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;$email&lt;/span&gt;,&lt;/div&gt;&lt;div&gt;                        &lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;mobile&#39;&lt;/span&gt; =&amp;gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;$phone&lt;/span&gt;,&lt;/div&gt;&lt;div&gt;                        &lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;password&#39;&lt;/span&gt; =&amp;gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;$password&lt;/span&gt;,&lt;/div&gt;&lt;div&gt;                        &lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;img_name&#39;&lt;/span&gt; =&amp;gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;$filename&lt;/span&gt;&lt;/div&gt;&lt;div&gt;                        &lt;/div&gt;&lt;div&gt;                     );&lt;/div&gt;&lt;div&gt;                     &lt;/div&gt;&lt;div&gt;                     &lt;span style=&quot;color: #9cdcfe;&quot;&gt;$resonse&lt;/span&gt; = &lt;span style=&quot;color: #9cdcfe;&quot;&gt;$model&lt;/span&gt;-&amp;gt;&lt;span style=&quot;color: #dcdcaa;&quot;&gt;where&lt;/span&gt;(&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;is_deleted&#39;&lt;/span&gt;,&lt;span style=&quot;color: #b5cea8;&quot;&gt;0&lt;/span&gt;)-&amp;gt;&lt;span style=&quot;color: #dcdcaa;&quot;&gt;update&lt;/span&gt;(&lt;span style=&quot;color: #9cdcfe;&quot;&gt;$id&lt;/span&gt;,&lt;span style=&quot;color: #9cdcfe;&quot;&gt;$data&lt;/span&gt;);&lt;/div&gt;&lt;div&gt;                     &lt;/div&gt;&lt;div&gt;                     &lt;span style=&quot;color: #c586c0;&quot;&gt;if&lt;/span&gt;(&lt;span style=&quot;color: #9cdcfe;&quot;&gt;$resonse&lt;/span&gt;){&lt;/div&gt;&lt;div&gt;                         &lt;span style=&quot;color: #dcdcaa;&quot;&gt;session&lt;/span&gt;()-&amp;gt;&lt;span style=&quot;color: #dcdcaa;&quot;&gt;setFlashdata&lt;/span&gt;(&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;update&#39;&lt;/span&gt;,&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;Record updated successfully..!&#39;&lt;/span&gt;);&lt;/div&gt;&lt;div&gt;                         &lt;span style=&quot;color: #c586c0;&quot;&gt;return&lt;/span&gt; &lt;span style=&quot;color: #dcdcaa;&quot;&gt;redirect&lt;/span&gt;()-&amp;gt;&lt;span style=&quot;color: #dcdcaa;&quot;&gt;to&lt;/span&gt;(&lt;span style=&quot;color: #dcdcaa;&quot;&gt;base_url&lt;/span&gt;(&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;edit/&#39;&lt;/span&gt;.&lt;span style=&quot;color: #9cdcfe;&quot;&gt;$id&lt;/span&gt;));&lt;/div&gt;&lt;div&gt;                     }&lt;span style=&quot;color: #c586c0;&quot;&gt;else&lt;/span&gt;{&lt;/div&gt;&lt;div&gt;                        &lt;span style=&quot;color: #dcdcaa;&quot;&gt;session&lt;/span&gt;()-&amp;gt;&lt;span style=&quot;color: #dcdcaa;&quot;&gt;setFlashdata&lt;/span&gt;(&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;missing&#39;&lt;/span&gt;,&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;Record is Missing..!&#39;&lt;/span&gt;);&lt;/div&gt;&lt;div&gt;                         &lt;span style=&quot;color: #c586c0;&quot;&gt;return&lt;/span&gt; &lt;span style=&quot;color: #dcdcaa;&quot;&gt;redirect&lt;/span&gt;()-&amp;gt;&lt;span style=&quot;color: #dcdcaa;&quot;&gt;to&lt;/span&gt;(&lt;span style=&quot;color: #dcdcaa;&quot;&gt;base_url&lt;/span&gt;(&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;edit/&#39;&lt;/span&gt;.&lt;span style=&quot;color: #9cdcfe;&quot;&gt;$id&lt;/span&gt;));&lt;/div&gt;&lt;div&gt;                     }&lt;/div&gt;&lt;div&gt;                }&lt;/div&gt;&lt;div&gt;              &lt;/div&gt;&lt;div&gt;                }&lt;/div&gt;&lt;div&gt;                 &lt;/div&gt;&lt;div&gt;    }&lt;/div&gt;&lt;br /&gt;&lt;div&gt;   &lt;span style=&quot;color: #569cd6;&quot;&gt;public&lt;/span&gt; &lt;span style=&quot;color: #569cd6;&quot;&gt;function&lt;/span&gt; &lt;span style=&quot;color: #dcdcaa;&quot;&gt;remove&lt;/span&gt;(&lt;span style=&quot;color: #9cdcfe;&quot;&gt;$id&lt;/span&gt;=&lt;span style=&quot;color: #569cd6;&quot;&gt;null&lt;/span&gt;){&lt;/div&gt;&lt;br /&gt;&lt;div&gt;           &lt;span style=&quot;color: #9cdcfe;&quot;&gt;$data&lt;/span&gt; = &lt;span style=&quot;color: #dcdcaa;&quot;&gt;array&lt;/span&gt;(&lt;/div&gt;&lt;div&gt;            &lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;id&#39;&lt;/span&gt; =&amp;gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;$id&lt;/span&gt;,&lt;/div&gt;&lt;div&gt;            &lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;is_deleted&#39;&lt;/span&gt; =&amp;gt; &lt;span style=&quot;color: #b5cea8;&quot;&gt;1&lt;/span&gt;&lt;/div&gt;&lt;div&gt;           );&lt;/div&gt;&lt;br /&gt;&lt;div&gt;           &lt;span style=&quot;color: #9cdcfe;&quot;&gt;$model&lt;/span&gt; = &lt;span style=&quot;color: #569cd6;&quot;&gt;new&lt;/span&gt; &lt;span style=&quot;color: #4ec9b0;&quot;&gt;usersModel&lt;/span&gt;();&lt;/div&gt;&lt;div&gt;           &lt;span style=&quot;color: #9cdcfe;&quot;&gt;$resonse&lt;/span&gt; =  &lt;span style=&quot;color: #9cdcfe;&quot;&gt;$model&lt;/span&gt;-&amp;gt;&lt;span style=&quot;color: #dcdcaa;&quot;&gt;where&lt;/span&gt;(&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;is_deleted&#39;&lt;/span&gt;,&lt;span style=&quot;color: #b5cea8;&quot;&gt;0&lt;/span&gt;)-&amp;gt;&lt;span style=&quot;color: #dcdcaa;&quot;&gt;update&lt;/span&gt;(&lt;span style=&quot;color: #9cdcfe;&quot;&gt;$id&lt;/span&gt;,&lt;span style=&quot;color: #9cdcfe;&quot;&gt;$data&lt;/span&gt;);&lt;/div&gt;&lt;br /&gt;&lt;div&gt;           &lt;span style=&quot;color: #c586c0;&quot;&gt;if&lt;/span&gt;(&lt;span style=&quot;color: #9cdcfe;&quot;&gt;$resonse&lt;/span&gt;){&lt;/div&gt;&lt;div&gt;            &lt;span style=&quot;color: #dcdcaa;&quot;&gt;session&lt;/span&gt;()-&amp;gt;&lt;span style=&quot;color: #dcdcaa;&quot;&gt;setFlashdata&lt;/span&gt;(&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;deleted&#39;&lt;/span&gt;,&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;Record Deleted successfully..!&#39;&lt;/span&gt;);&lt;/div&gt;&lt;div&gt;            &lt;span style=&quot;color: #c586c0;&quot;&gt;return&lt;/span&gt; &lt;span style=&quot;color: #dcdcaa;&quot;&gt;redirect&lt;/span&gt;()-&amp;gt;&lt;span style=&quot;color: #dcdcaa;&quot;&gt;to&lt;/span&gt;(&lt;span style=&quot;color: #dcdcaa;&quot;&gt;base_url&lt;/span&gt;(&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;/&#39;&lt;/span&gt;));&lt;/div&gt;&lt;div&gt;           }&lt;/div&gt;&lt;div&gt;   }&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div&gt;}&lt;/div&gt;&lt;br /&gt;&lt;/div&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;b&gt;Step 7 - Create View Page about User registration And Login :&amp;nbsp;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;b&gt;1- header.php&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style=&quot;background-color: #1e1e1e; color: #d4d4d4; font-family: &amp;quot;Droid Sans Mono&amp;quot;, &amp;quot;monospace&amp;quot;, monospace; font-size: 14px; line-height: 19px; white-space: pre;&quot;&gt;&lt;div&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;!&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;DOCTYPE&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;html&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;html&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;lang&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;en&quot;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;head&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;meta&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;charset&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;UTF-8&quot;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;    &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;meta&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;http-equiv&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;X-UA-Compatible&quot;&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;content&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;IE=edge&quot;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;    &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;meta&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;name&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;viewport&quot;&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;content&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;width=device-width, initial-scale=1.0&quot;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;    &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;title&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;Document&lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;title&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;    &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;link&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;rel&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;stylesheet&quot;&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;href&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;https://cdn.datatables.net/1.13.6/css/jquery.dataTables.css&quot;&lt;/span&gt; &lt;span style=&quot;color: grey;&quot;&gt;/&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;    &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;link&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;rel&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;stylesheet&quot;&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;href&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;https://cdn.jsdelivr.net/npm/bootstrap@4.0.0/dist/css/bootstrap.min.css&quot;&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;integrity&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm&quot;&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;crossorigin&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;anonymous&quot;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;    &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;script&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;src&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;https://code.jquery.com/jquery-3.2.1.slim.min.js&quot;&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;integrity&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;sha384-KJ3o2DKtIkvYIK3UENzmM7KCkRr/rE9/Qpg6aAZGJwFDMVNA/GpGFF93hXpG5KkN&quot;&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;crossorigin&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;anonymous&quot;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;script&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;    &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;script&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;src&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;https://cdn.jsdelivr.net/npm/popper.js@1.12.9/dist/umd/popper.min.js&quot;&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;integrity&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;sha384-ApNbgh9B+Y1QKtv3Rn7W3mgPxhU9K/ScQsAP7hUibX39j7fakFPskvXusvfa0b4Q&quot;&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;crossorigin&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;anonymous&quot;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;script&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;    &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;script&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;src&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;https://cdn.jsdelivr.net/npm/bootstrap@4.0.0/dist/js/bootstrap.min.js&quot;&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;integrity&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;sha384-JZR6Spejh4U02d8jOt6vLEHfe/JQGiRRSQQxSfFWpi1MquVdAyjUar5+76PVCmYl&quot;&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;crossorigin&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;anonymous&quot;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;script&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;head&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;body&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;div&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;class&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;col-lg-12&quot;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;nav&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;class&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;navbar navbar-expand-lg navbar-dark bg-dark&quot;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;  &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;a&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;class&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;navbar-brand&quot;&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;href&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;#&quot;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;img&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;src&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;&amp;lt;?=&lt;/span&gt; &lt;span style=&quot;color: #dcdcaa;&quot;&gt;base_url&lt;/span&gt;(&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;assets/uploads/vega-6-logo.png&#39;&lt;/span&gt;) &lt;span style=&quot;color: #569cd6;&quot;&gt;?&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;alt&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;img&quot;&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;hieght&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;150&quot;&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;width&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;150&quot;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;a&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;  &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;button&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;class&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;navbar-toggler&quot;&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;type&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;button&quot;&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;data-toggle&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;collapse&quot;&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;data-target&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;#navbarSupportedContent&quot;&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;aria-controls&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;navbarSupportedContent&quot;&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;aria-expanded&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;false&quot;&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;aria-label&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;Toggle navigation&quot;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;    &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;span&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;class&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;navbar-toggler-icon&quot;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;span&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;  &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;button&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;  &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;div&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;class&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;collapse navbar-collapse&quot;&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;id&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;navbarSupportedContent&quot;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;    &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;ul&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;class&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;navbar-nav mr-auto&quot;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;      &lt;span style=&quot;color: #6a9955;&quot;&gt;&amp;lt;!-- &amp;lt;li class=&quot;nav-item active&quot;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #6a9955;&quot;&gt;        &amp;lt;a class=&quot;nav-link&quot; href=&quot;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;&amp;lt;?&lt;/span&gt;&lt;span style=&quot;color: #6a9955;&quot;&gt;//= base_url(&#39;/&#39;);&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;?&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: #6a9955;&quot;&gt;&quot;&amp;gt;Home &amp;lt;span class=&quot;sr-only&quot;&amp;gt;(current)&amp;lt;/span&amp;gt;&amp;lt;/a&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #6a9955;&quot;&gt;      &amp;lt;/li&amp;gt; --&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;      &lt;span style=&quot;color: #569cd6;&quot;&gt;&amp;lt;?php&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;$session&lt;/span&gt; = &lt;span style=&quot;color: #dcdcaa;&quot;&gt;session&lt;/span&gt;(); &lt;span style=&quot;color: #c586c0;&quot;&gt;if&lt;/span&gt;(&lt;span style=&quot;color: #569cd6;&quot;&gt;null&lt;/span&gt; === &lt;span style=&quot;color: #9cdcfe;&quot;&gt;$session&lt;/span&gt;-&amp;gt;&lt;span style=&quot;color: #dcdcaa;&quot;&gt;get&lt;/span&gt;(&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;is_loggedin&#39;&lt;/span&gt;)){ &lt;span style=&quot;color: #569cd6;&quot;&gt;?&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;      &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;li&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;class&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;nav-item&quot;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;        &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;a&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;class&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;nav-link&quot;&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;href&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;&amp;lt;?=&lt;/span&gt; &lt;span style=&quot;color: #dcdcaa;&quot;&gt;base_url&lt;/span&gt;(&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;form&#39;&lt;/span&gt;);&lt;span style=&quot;color: #569cd6;&quot;&gt;?&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;Registration&lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;a&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;      &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;li&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;      &lt;span style=&quot;color: #569cd6;&quot;&gt;&amp;lt;?php&lt;/span&gt; }&lt;span style=&quot;color: #569cd6;&quot;&gt;?&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;      &lt;span style=&quot;color: #569cd6;&quot;&gt;&amp;lt;?php&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;$session&lt;/span&gt; = &lt;span style=&quot;color: #dcdcaa;&quot;&gt;session&lt;/span&gt;(); &lt;span style=&quot;color: #c586c0;&quot;&gt;if&lt;/span&gt;(&lt;span style=&quot;color: #569cd6;&quot;&gt;null&lt;/span&gt; === &lt;span style=&quot;color: #9cdcfe;&quot;&gt;$session&lt;/span&gt;-&amp;gt;&lt;span style=&quot;color: #dcdcaa;&quot;&gt;get&lt;/span&gt;(&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;is_loggedin&#39;&lt;/span&gt;)){ &lt;span style=&quot;color: #569cd6;&quot;&gt;?&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;      &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;li&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;class&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;nav-item&quot;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;        &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;a&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;class&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;nav-link&quot;&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;href&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;&amp;lt;?=&lt;/span&gt; &lt;span style=&quot;color: #dcdcaa;&quot;&gt;base_url&lt;/span&gt;(&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;login&#39;&lt;/span&gt;);&lt;span style=&quot;color: #569cd6;&quot;&gt;?&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;Login&lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;a&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;      &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;li&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;    &lt;span style=&quot;color: #569cd6;&quot;&gt;&amp;lt;?php&lt;/span&gt; }&lt;span style=&quot;color: #569cd6;&quot;&gt;?&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;    &lt;span style=&quot;color: #569cd6;&quot;&gt;&amp;lt;?php&lt;/span&gt;  &lt;span style=&quot;color: #c586c0;&quot;&gt;if&lt;/span&gt;(&lt;span style=&quot;color: #569cd6;&quot;&gt;null&lt;/span&gt; !== &lt;span style=&quot;color: #9cdcfe;&quot;&gt;$session&lt;/span&gt;-&amp;gt;&lt;span style=&quot;color: #dcdcaa;&quot;&gt;get&lt;/span&gt;(&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;is_loggedin&#39;&lt;/span&gt;)){ &lt;span style=&quot;color: #569cd6;&quot;&gt;?&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;      &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;li&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;class&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;nav-item&quot;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;        &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;a&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;class&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;nav-link&quot;&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;data-toggle&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;modal&quot;&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;data-target&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;#profileModal&quot;&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;href&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;#&quot;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;Profile&lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;a&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;      &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;li&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;      &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;li&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;class&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;nav-item&quot;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;        &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;a&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;class&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;nav-link&quot;&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;href&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;&amp;lt;?=&lt;/span&gt; &lt;span style=&quot;color: #dcdcaa;&quot;&gt;base_url&lt;/span&gt;(&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;logout&#39;&lt;/span&gt;);&lt;span style=&quot;color: #569cd6;&quot;&gt;?&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;logout&lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;a&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;      &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;li&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;      &lt;span style=&quot;color: #569cd6;&quot;&gt;&amp;lt;?php&lt;/span&gt; }&lt;span style=&quot;color: #569cd6;&quot;&gt;?&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;    &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;ul&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;    &lt;span style=&quot;color: #6a9955;&quot;&gt;&amp;lt;!-- &amp;lt;form class=&quot;form-inline my-2 my-lg-0&quot;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #6a9955;&quot;&gt;      &amp;lt;input class=&quot;form-control mr-sm-2&quot; type=&quot;search&quot; placeholder=&quot;Search&quot; aria-label=&quot;Search&quot;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #6a9955;&quot;&gt;      &amp;lt;button class=&quot;btn btn-outline-success my-2 my-sm-0&quot; type=&quot;submit&quot;&amp;gt;Search&amp;lt;/button&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #6a9955;&quot;&gt;    &amp;lt;/form&amp;gt; --&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;  &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;div&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;nav&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;div&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;body&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;html&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;p&gt;&lt;b&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;2 view- siderbar.php&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;&lt;div style=&quot;background-color: #1e1e1e; color: #d4d4d4; font-family: &amp;quot;Droid Sans Mono&amp;quot;, &amp;quot;monospace&amp;quot;, monospace; font-size: 14px; line-height: 19px; white-space: pre;&quot;&gt;&lt;div&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;!&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;DOCTYPE&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;html&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #6a9955;&quot;&gt;&amp;lt;!-- Created By CodingNepal --&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;html&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;lang&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;en&quot;&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;dir&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;ltr&quot;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;   &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;head&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;      &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;meta&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;charset&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;utf-8&quot;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;      &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;title&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;Sidebar Menu with sub-menu | CodingNepal&lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;title&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;      &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;link&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;rel&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;stylesheet&quot;&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;href&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;style.css&quot;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;      &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;script&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;src&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;https://code.jquery.com/jquery-3.4.1.js&quot;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;script&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;      &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;link&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;rel&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;stylesheet&quot;&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;href&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.3/css/all.min.css&quot;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;/&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;      &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;style&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;        &lt;span style=&quot;color: #c586c0;&quot;&gt;@import&lt;/span&gt; &lt;span style=&quot;color: #dcdcaa;&quot;&gt;url&lt;/span&gt;(&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;https://fonts.googleapis.com/css?family=Poppins:400,500,600,700&amp;amp;display=swap&#39;&lt;/span&gt;);&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;*&lt;/span&gt;{&lt;/div&gt;&lt;div&gt;  &lt;span style=&quot;color: #9cdcfe;&quot;&gt;margin&lt;/span&gt;: &lt;span style=&quot;color: #b5cea8;&quot;&gt;0&lt;/span&gt;;&lt;/div&gt;&lt;div&gt;  &lt;span style=&quot;color: #9cdcfe;&quot;&gt;padding&lt;/span&gt;: &lt;span style=&quot;color: #b5cea8;&quot;&gt;0&lt;/span&gt;;&lt;/div&gt;&lt;div&gt;  &lt;span style=&quot;color: #9cdcfe;&quot;&gt;user-select&lt;/span&gt;: &lt;span style=&quot;color: #ce9178;&quot;&gt;none&lt;/span&gt;;&lt;/div&gt;&lt;div&gt;  &lt;span style=&quot;color: #9cdcfe;&quot;&gt;box-sizing&lt;/span&gt;: &lt;span style=&quot;color: #ce9178;&quot;&gt;border-box&lt;/span&gt;;&lt;/div&gt;&lt;div&gt;  &lt;span style=&quot;color: #9cdcfe;&quot;&gt;font-family&lt;/span&gt;: &lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;Poppins&#39;&lt;/span&gt;, &lt;span style=&quot;color: #ce9178;&quot;&gt;sans-serif&lt;/span&gt;;&lt;/div&gt;&lt;div&gt;}&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;span style=&quot;color: #d7ba7d;&quot;&gt;.btn&lt;/span&gt;{&lt;/div&gt;&lt;div&gt;  &lt;span style=&quot;color: #9cdcfe;&quot;&gt;position&lt;/span&gt;: &lt;span style=&quot;color: #ce9178;&quot;&gt;absolute&lt;/span&gt;;&lt;/div&gt;&lt;div&gt;  &lt;span style=&quot;color: #9cdcfe;&quot;&gt;top&lt;/span&gt;: &lt;span style=&quot;color: #b5cea8;&quot;&gt;15px&lt;/span&gt;;&lt;/div&gt;&lt;div&gt;  &lt;span style=&quot;color: #9cdcfe;&quot;&gt;left&lt;/span&gt;: &lt;span style=&quot;color: #b5cea8;&quot;&gt;45px&lt;/span&gt;;&lt;/div&gt;&lt;div&gt;  &lt;span style=&quot;color: #9cdcfe;&quot;&gt;height&lt;/span&gt;: &lt;span style=&quot;color: #b5cea8;&quot;&gt;45px&lt;/span&gt;;&lt;/div&gt;&lt;div&gt;  &lt;span style=&quot;color: #9cdcfe;&quot;&gt;width&lt;/span&gt;: &lt;span style=&quot;color: #b5cea8;&quot;&gt;45px&lt;/span&gt;;&lt;/div&gt;&lt;div&gt;  &lt;span style=&quot;color: #9cdcfe;&quot;&gt;text-align&lt;/span&gt;: &lt;span style=&quot;color: #ce9178;&quot;&gt;center&lt;/span&gt;;&lt;/div&gt;&lt;div&gt;  &lt;span style=&quot;color: #6a9955;&quot;&gt;/* background: #1b1b1b; */&lt;/span&gt;&lt;/div&gt;&lt;div&gt;  &lt;span style=&quot;color: #9cdcfe;&quot;&gt;border-radius&lt;/span&gt;: &lt;span style=&quot;color: #b5cea8;&quot;&gt;3px&lt;/span&gt;;&lt;/div&gt;&lt;div&gt;  &lt;span style=&quot;color: #9cdcfe;&quot;&gt;cursor&lt;/span&gt;: &lt;span style=&quot;color: #ce9178;&quot;&gt;pointer&lt;/span&gt;;&lt;/div&gt;&lt;div&gt;  &lt;span style=&quot;color: #9cdcfe;&quot;&gt;transition&lt;/span&gt;: &lt;span style=&quot;color: #ce9178;&quot;&gt;left&lt;/span&gt; &lt;span style=&quot;color: #b5cea8;&quot;&gt;0.4s&lt;/span&gt; &lt;span style=&quot;color: #ce9178;&quot;&gt;ease&lt;/span&gt;;&lt;/div&gt;&lt;div&gt;}&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #d7ba7d;&quot;&gt;.btn.click&lt;/span&gt;{&lt;/div&gt;&lt;div&gt;  &lt;span style=&quot;color: #9cdcfe;&quot;&gt;left&lt;/span&gt;: &lt;span style=&quot;color: #b5cea8;&quot;&gt;260px&lt;/span&gt;;&lt;/div&gt;&lt;div&gt;}&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #d7ba7d;&quot;&gt;.btn&lt;/span&gt; &lt;span style=&quot;color: #d7ba7d;&quot;&gt;span&lt;/span&gt;{&lt;/div&gt;&lt;div&gt;  &lt;span style=&quot;color: #9cdcfe;&quot;&gt;color&lt;/span&gt;: &lt;span style=&quot;color: #ce9178;&quot;&gt;white&lt;/span&gt;;&lt;/div&gt;&lt;div&gt;  &lt;span style=&quot;color: #9cdcfe;&quot;&gt;font-size&lt;/span&gt;: &lt;span style=&quot;color: #b5cea8;&quot;&gt;28px&lt;/span&gt;;&lt;/div&gt;&lt;div&gt;  &lt;span style=&quot;color: #9cdcfe;&quot;&gt;line-height&lt;/span&gt;: &lt;span style=&quot;color: #b5cea8;&quot;&gt;45px&lt;/span&gt;;&lt;/div&gt;&lt;div&gt;}&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #d7ba7d;&quot;&gt;.btn.click&lt;/span&gt; &lt;span style=&quot;color: #d7ba7d;&quot;&gt;span:before&lt;/span&gt;{&lt;/div&gt;&lt;div&gt;  &lt;span style=&quot;color: #9cdcfe;&quot;&gt;content&lt;/span&gt;: &lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;&lt;/span&gt;&lt;span style=&quot;color: #d7ba7d;&quot;&gt;\f00d&lt;/span&gt;&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;&lt;/span&gt;;&lt;/div&gt;&lt;div&gt;}&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #d7ba7d;&quot;&gt;.sidebar&lt;/span&gt;{&lt;/div&gt;&lt;div&gt;  &lt;span style=&quot;color: #9cdcfe;&quot;&gt;position&lt;/span&gt;: &lt;span style=&quot;color: #ce9178;&quot;&gt;fixed&lt;/span&gt;;&lt;/div&gt;&lt;div&gt;  &lt;span style=&quot;color: #9cdcfe;&quot;&gt;width&lt;/span&gt;: &lt;span style=&quot;color: #b5cea8;&quot;&gt;250px&lt;/span&gt;;&lt;/div&gt;&lt;div&gt;  &lt;span style=&quot;color: #9cdcfe;&quot;&gt;height&lt;/span&gt;: &lt;span style=&quot;color: #b5cea8;&quot;&gt;100%&lt;/span&gt;;&lt;/div&gt;&lt;div&gt;  &lt;span style=&quot;color: #9cdcfe;&quot;&gt;left&lt;/span&gt;: &lt;span style=&quot;color: #b5cea8;&quot;&gt;-250px&lt;/span&gt;;&lt;/div&gt;&lt;div&gt;  &lt;span style=&quot;color: #9cdcfe;&quot;&gt;background&lt;/span&gt;: &lt;span style=&quot;color: #ce9178;&quot;&gt;#343A40&lt;/span&gt;;&lt;/div&gt;&lt;div&gt;  &lt;span style=&quot;color: #9cdcfe;&quot;&gt;transition&lt;/span&gt;: &lt;span style=&quot;color: #ce9178;&quot;&gt;left&lt;/span&gt; &lt;span style=&quot;color: #b5cea8;&quot;&gt;0.4s&lt;/span&gt; &lt;span style=&quot;color: #ce9178;&quot;&gt;ease&lt;/span&gt;;&lt;/div&gt;&lt;div&gt;}&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #d7ba7d;&quot;&gt;.sidebar.show&lt;/span&gt;{&lt;/div&gt;&lt;div&gt;  &lt;span style=&quot;color: #9cdcfe;&quot;&gt;left&lt;/span&gt;: &lt;span style=&quot;color: #b5cea8;&quot;&gt;0px&lt;/span&gt;;&lt;/div&gt;&lt;div&gt;}&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #d7ba7d;&quot;&gt;.sidebar&lt;/span&gt; &lt;span style=&quot;color: #d7ba7d;&quot;&gt;.text&lt;/span&gt;{&lt;/div&gt;&lt;div&gt;  &lt;span style=&quot;color: #9cdcfe;&quot;&gt;color&lt;/span&gt;: &lt;span style=&quot;color: #ce9178;&quot;&gt;white&lt;/span&gt;;&lt;/div&gt;&lt;div&gt;  &lt;span style=&quot;color: #9cdcfe;&quot;&gt;font-size&lt;/span&gt;: &lt;span style=&quot;color: #b5cea8;&quot;&gt;25px&lt;/span&gt;;&lt;/div&gt;&lt;div&gt;  &lt;span style=&quot;color: #9cdcfe;&quot;&gt;font-weight&lt;/span&gt;: &lt;span style=&quot;color: #b5cea8;&quot;&gt;600&lt;/span&gt;;&lt;/div&gt;&lt;div&gt;  &lt;span style=&quot;color: #9cdcfe;&quot;&gt;line-height&lt;/span&gt;: &lt;span style=&quot;color: #b5cea8;&quot;&gt;65px&lt;/span&gt;;&lt;/div&gt;&lt;div&gt;  &lt;span style=&quot;color: #9cdcfe;&quot;&gt;text-align&lt;/span&gt;: &lt;span style=&quot;color: #ce9178;&quot;&gt;center&lt;/span&gt;;&lt;/div&gt;&lt;div&gt;  &lt;span style=&quot;color: #9cdcfe;&quot;&gt;background&lt;/span&gt;: &lt;span style=&quot;color: #ce9178;&quot;&gt;#343A40&lt;/span&gt;;&lt;/div&gt;&lt;div&gt;  &lt;span style=&quot;color: #9cdcfe;&quot;&gt;letter-spacing&lt;/span&gt;: &lt;span style=&quot;color: #b5cea8;&quot;&gt;1px&lt;/span&gt;;&lt;/div&gt;&lt;div&gt;}&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #6a9955;&quot;&gt;/* nav ul{&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #6a9955;&quot;&gt;  background: #1b1b1b;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #6a9955;&quot;&gt;  height: 100%;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #6a9955;&quot;&gt;  width: 100%;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #6a9955;&quot;&gt;  list-style: none;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #6a9955;&quot;&gt;} */&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #d7ba7d;&quot;&gt;nav&lt;/span&gt; &lt;span style=&quot;color: #d7ba7d;&quot;&gt;ul&lt;/span&gt; &lt;span style=&quot;color: #d7ba7d;&quot;&gt;li&lt;/span&gt;{&lt;/div&gt;&lt;div&gt;  &lt;span style=&quot;color: #9cdcfe;&quot;&gt;line-height&lt;/span&gt;: &lt;span style=&quot;color: #b5cea8;&quot;&gt;60px&lt;/span&gt;;&lt;/div&gt;&lt;div&gt;  &lt;span style=&quot;color: #9cdcfe;&quot;&gt;border-top&lt;/span&gt;: &lt;span style=&quot;color: #b5cea8;&quot;&gt;1px&lt;/span&gt; &lt;span style=&quot;color: #ce9178;&quot;&gt;solid&lt;/span&gt; &lt;span style=&quot;color: #dcdcaa;&quot;&gt;rgba&lt;/span&gt;(&lt;span style=&quot;color: #b5cea8;&quot;&gt;255&lt;/span&gt;,&lt;span style=&quot;color: #b5cea8;&quot;&gt;255&lt;/span&gt;,&lt;span style=&quot;color: #b5cea8;&quot;&gt;255&lt;/span&gt;,&lt;span style=&quot;color: #b5cea8;&quot;&gt;0.1&lt;/span&gt;);&lt;/div&gt;&lt;div&gt;}&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #6a9955;&quot;&gt;/* nav ul li:last-child{&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #6a9955;&quot;&gt;  border-bottom: 1px solid rgba(255,255,255,0.05);&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #6a9955;&quot;&gt;} */&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #d7ba7d;&quot;&gt;nav&lt;/span&gt; &lt;span style=&quot;color: #d7ba7d;&quot;&gt;ul&lt;/span&gt; &lt;span style=&quot;color: #d7ba7d;&quot;&gt;li&lt;/span&gt; &lt;span style=&quot;color: #d7ba7d;&quot;&gt;a&lt;/span&gt;{&lt;/div&gt;&lt;div&gt;  &lt;span style=&quot;color: #9cdcfe;&quot;&gt;position&lt;/span&gt;: &lt;span style=&quot;color: #ce9178;&quot;&gt;relative&lt;/span&gt;;&lt;/div&gt;&lt;div&gt;  &lt;span style=&quot;color: #9cdcfe;&quot;&gt;color&lt;/span&gt;: &lt;span style=&quot;color: #ce9178;&quot;&gt;white&lt;/span&gt;;&lt;/div&gt;&lt;div&gt;  &lt;span style=&quot;color: #9cdcfe;&quot;&gt;text-decoration&lt;/span&gt;: &lt;span style=&quot;color: #ce9178;&quot;&gt;none&lt;/span&gt;;&lt;/div&gt;&lt;div&gt;  &lt;span style=&quot;color: #9cdcfe;&quot;&gt;font-size&lt;/span&gt;: &lt;span style=&quot;color: #b5cea8;&quot;&gt;18px&lt;/span&gt;;&lt;/div&gt;&lt;div&gt;  &lt;span style=&quot;color: #9cdcfe;&quot;&gt;padding-left&lt;/span&gt;: &lt;span style=&quot;color: #b5cea8;&quot;&gt;40px&lt;/span&gt;;&lt;/div&gt;&lt;div&gt;  &lt;span style=&quot;color: #9cdcfe;&quot;&gt;font-weight&lt;/span&gt;: &lt;span style=&quot;color: #b5cea8;&quot;&gt;500&lt;/span&gt;;&lt;/div&gt;&lt;div&gt;  &lt;span style=&quot;color: #9cdcfe;&quot;&gt;display&lt;/span&gt;: &lt;span style=&quot;color: #ce9178;&quot;&gt;block&lt;/span&gt;;&lt;/div&gt;&lt;div&gt;  &lt;span style=&quot;color: #9cdcfe;&quot;&gt;width&lt;/span&gt;: &lt;span style=&quot;color: #b5cea8;&quot;&gt;100%&lt;/span&gt;;&lt;/div&gt;&lt;div&gt;  &lt;span style=&quot;color: #9cdcfe;&quot;&gt;border-left&lt;/span&gt;: &lt;span style=&quot;color: #b5cea8;&quot;&gt;3px&lt;/span&gt; &lt;span style=&quot;color: #ce9178;&quot;&gt;solid&lt;/span&gt; &lt;span style=&quot;color: #ce9178;&quot;&gt;transparent&lt;/span&gt;;&lt;/div&gt;&lt;div&gt;}&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #d7ba7d;&quot;&gt;nav&lt;/span&gt; &lt;span style=&quot;color: #d7ba7d;&quot;&gt;ul&lt;/span&gt; &lt;span style=&quot;color: #d7ba7d;&quot;&gt;li.active&lt;/span&gt; &lt;span style=&quot;color: #d7ba7d;&quot;&gt;a&lt;/span&gt;{&lt;/div&gt;&lt;div&gt;  &lt;span style=&quot;color: #9cdcfe;&quot;&gt;color&lt;/span&gt;: &lt;span style=&quot;color: #ce9178;&quot;&gt;cyan&lt;/span&gt;;&lt;/div&gt;&lt;div&gt;  &lt;span style=&quot;color: #9cdcfe;&quot;&gt;background&lt;/span&gt;: &lt;span style=&quot;color: #ce9178;&quot;&gt;#343A40&lt;/span&gt;;&lt;/div&gt;&lt;div&gt;  &lt;span style=&quot;color: #9cdcfe;&quot;&gt;border-left-color&lt;/span&gt;: &lt;span style=&quot;color: #ce9178;&quot;&gt;cyan&lt;/span&gt;;&lt;/div&gt;&lt;div&gt;}&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #d7ba7d;&quot;&gt;nav&lt;/span&gt; &lt;span style=&quot;color: #d7ba7d;&quot;&gt;ul&lt;/span&gt; &lt;span style=&quot;color: #d7ba7d;&quot;&gt;li&lt;/span&gt; &lt;span style=&quot;color: #d7ba7d;&quot;&gt;a:hover&lt;/span&gt;{&lt;/div&gt;&lt;div&gt;  &lt;span style=&quot;color: #9cdcfe;&quot;&gt;background&lt;/span&gt;: &lt;span style=&quot;color: #ce9178;&quot;&gt;#1e1e1e&lt;/span&gt;;&lt;/div&gt;&lt;div&gt;}&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #d7ba7d;&quot;&gt;nav&lt;/span&gt; &lt;span style=&quot;color: #d7ba7d;&quot;&gt;ul&lt;/span&gt; &lt;span style=&quot;color: #d7ba7d;&quot;&gt;ul&lt;/span&gt;{&lt;/div&gt;&lt;div&gt;  &lt;span style=&quot;color: #9cdcfe;&quot;&gt;position&lt;/span&gt;: &lt;span style=&quot;color: #ce9178;&quot;&gt;static&lt;/span&gt;;&lt;/div&gt;&lt;div&gt;  &lt;span style=&quot;color: #9cdcfe;&quot;&gt;display&lt;/span&gt;: &lt;span style=&quot;color: #ce9178;&quot;&gt;none&lt;/span&gt;;&lt;/div&gt;&lt;div&gt;}&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #d7ba7d;&quot;&gt;nav&lt;/span&gt; &lt;span style=&quot;color: #d7ba7d;&quot;&gt;ul&lt;/span&gt; &lt;span style=&quot;color: #d7ba7d;&quot;&gt;.feat-show.show&lt;/span&gt;{&lt;/div&gt;&lt;div&gt;  &lt;span style=&quot;color: #9cdcfe;&quot;&gt;display&lt;/span&gt;: &lt;span style=&quot;color: #ce9178;&quot;&gt;block&lt;/span&gt;;&lt;/div&gt;&lt;div&gt;}&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #d7ba7d;&quot;&gt;nav&lt;/span&gt; &lt;span style=&quot;color: #d7ba7d;&quot;&gt;ul&lt;/span&gt; &lt;span style=&quot;color: #d7ba7d;&quot;&gt;.serv-show.show1&lt;/span&gt;{&lt;/div&gt;&lt;div&gt;  &lt;span style=&quot;color: #9cdcfe;&quot;&gt;display&lt;/span&gt;: &lt;span style=&quot;color: #ce9178;&quot;&gt;block&lt;/span&gt;;&lt;/div&gt;&lt;div&gt;}&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #d7ba7d;&quot;&gt;nav&lt;/span&gt; &lt;span style=&quot;color: #d7ba7d;&quot;&gt;ul&lt;/span&gt; &lt;span style=&quot;color: #d7ba7d;&quot;&gt;ul&lt;/span&gt; &lt;span style=&quot;color: #d7ba7d;&quot;&gt;li&lt;/span&gt;{&lt;/div&gt;&lt;div&gt;  &lt;span style=&quot;color: #9cdcfe;&quot;&gt;line-height&lt;/span&gt;: &lt;span style=&quot;color: #b5cea8;&quot;&gt;42px&lt;/span&gt;;&lt;/div&gt;&lt;div&gt;  &lt;span style=&quot;color: #9cdcfe;&quot;&gt;border-top&lt;/span&gt;: &lt;span style=&quot;color: #ce9178;&quot;&gt;none&lt;/span&gt;;&lt;/div&gt;&lt;div&gt;}&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #d7ba7d;&quot;&gt;nav&lt;/span&gt; &lt;span style=&quot;color: #d7ba7d;&quot;&gt;ul&lt;/span&gt; &lt;span style=&quot;color: #d7ba7d;&quot;&gt;ul&lt;/span&gt; &lt;span style=&quot;color: #d7ba7d;&quot;&gt;li&lt;/span&gt; &lt;span style=&quot;color: #d7ba7d;&quot;&gt;a&lt;/span&gt;{&lt;/div&gt;&lt;div&gt;  &lt;span style=&quot;color: #9cdcfe;&quot;&gt;font-size&lt;/span&gt;: &lt;span style=&quot;color: #b5cea8;&quot;&gt;17px&lt;/span&gt;;&lt;/div&gt;&lt;div&gt;  &lt;span style=&quot;color: #9cdcfe;&quot;&gt;color&lt;/span&gt;: &lt;span style=&quot;color: #ce9178;&quot;&gt;#e6e6e6&lt;/span&gt;;&lt;/div&gt;&lt;div&gt;  &lt;span style=&quot;color: #9cdcfe;&quot;&gt;padding-left&lt;/span&gt;: &lt;span style=&quot;color: #b5cea8;&quot;&gt;80px&lt;/span&gt;;&lt;/div&gt;&lt;div&gt;}&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #d7ba7d;&quot;&gt;nav&lt;/span&gt; &lt;span style=&quot;color: #d7ba7d;&quot;&gt;ul&lt;/span&gt; &lt;span style=&quot;color: #d7ba7d;&quot;&gt;li.active&lt;/span&gt; &lt;span style=&quot;color: #d7ba7d;&quot;&gt;ul&lt;/span&gt; &lt;span style=&quot;color: #d7ba7d;&quot;&gt;li&lt;/span&gt; &lt;span style=&quot;color: #d7ba7d;&quot;&gt;a&lt;/span&gt;{&lt;/div&gt;&lt;div&gt;  &lt;span style=&quot;color: #9cdcfe;&quot;&gt;color&lt;/span&gt;: &lt;span style=&quot;color: #ce9178;&quot;&gt;#e6e6e6&lt;/span&gt;;&lt;/div&gt;&lt;div&gt;  &lt;span style=&quot;color: #9cdcfe;&quot;&gt;background&lt;/span&gt;: &lt;span style=&quot;color: #ce9178;&quot;&gt;#1b1b1b&lt;/span&gt;;&lt;/div&gt;&lt;div&gt;  &lt;span style=&quot;color: #9cdcfe;&quot;&gt;border-left-color&lt;/span&gt;: &lt;span style=&quot;color: #ce9178;&quot;&gt;transparent&lt;/span&gt;;&lt;/div&gt;&lt;div&gt;}&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #d7ba7d;&quot;&gt;nav&lt;/span&gt; &lt;span style=&quot;color: #d7ba7d;&quot;&gt;ul&lt;/span&gt; &lt;span style=&quot;color: #d7ba7d;&quot;&gt;ul&lt;/span&gt; &lt;span style=&quot;color: #d7ba7d;&quot;&gt;li&lt;/span&gt; &lt;span style=&quot;color: #d7ba7d;&quot;&gt;a:hover&lt;/span&gt;{&lt;/div&gt;&lt;div&gt;  &lt;span style=&quot;color: #9cdcfe;&quot;&gt;color&lt;/span&gt;: &lt;span style=&quot;color: #ce9178;&quot;&gt;cyan&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;!important&lt;/span&gt;;&lt;/div&gt;&lt;div&gt;  &lt;span style=&quot;color: #9cdcfe;&quot;&gt;background&lt;/span&gt;: &lt;span style=&quot;color: #ce9178;&quot;&gt;#1e1e1e&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;!important&lt;/span&gt;;&lt;/div&gt;&lt;div&gt;}&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #d7ba7d;&quot;&gt;nav&lt;/span&gt; &lt;span style=&quot;color: #d7ba7d;&quot;&gt;ul&lt;/span&gt; &lt;span style=&quot;color: #d7ba7d;&quot;&gt;li&lt;/span&gt; &lt;span style=&quot;color: #d7ba7d;&quot;&gt;a&lt;/span&gt; &lt;span style=&quot;color: #d7ba7d;&quot;&gt;span&lt;/span&gt;{&lt;/div&gt;&lt;div&gt;  &lt;span style=&quot;color: #9cdcfe;&quot;&gt;position&lt;/span&gt;: &lt;span style=&quot;color: #ce9178;&quot;&gt;absolute&lt;/span&gt;;&lt;/div&gt;&lt;div&gt;  &lt;span style=&quot;color: #9cdcfe;&quot;&gt;top&lt;/span&gt;: &lt;span style=&quot;color: #b5cea8;&quot;&gt;50%&lt;/span&gt;;&lt;/div&gt;&lt;div&gt;  &lt;span style=&quot;color: #9cdcfe;&quot;&gt;right&lt;/span&gt;: &lt;span style=&quot;color: #b5cea8;&quot;&gt;20px&lt;/span&gt;;&lt;/div&gt;&lt;div&gt;  &lt;span style=&quot;color: #9cdcfe;&quot;&gt;transform&lt;/span&gt;: &lt;span style=&quot;color: #dcdcaa;&quot;&gt;translateY&lt;/span&gt;(&lt;span style=&quot;color: #b5cea8;&quot;&gt;-50%&lt;/span&gt;);&lt;/div&gt;&lt;div&gt;  &lt;span style=&quot;color: #9cdcfe;&quot;&gt;font-size&lt;/span&gt;: &lt;span style=&quot;color: #b5cea8;&quot;&gt;22px&lt;/span&gt;;&lt;/div&gt;&lt;div&gt;  &lt;span style=&quot;color: #9cdcfe;&quot;&gt;transition&lt;/span&gt;: transform &lt;span style=&quot;color: #b5cea8;&quot;&gt;0.4s&lt;/span&gt;;&lt;/div&gt;&lt;div&gt;}&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #d7ba7d;&quot;&gt;nav&lt;/span&gt; &lt;span style=&quot;color: #d7ba7d;&quot;&gt;ul&lt;/span&gt; &lt;span style=&quot;color: #d7ba7d;&quot;&gt;li&lt;/span&gt; &lt;span style=&quot;color: #d7ba7d;&quot;&gt;a&lt;/span&gt; &lt;span style=&quot;color: #d7ba7d;&quot;&gt;span.rotate&lt;/span&gt;{&lt;/div&gt;&lt;div&gt;  &lt;span style=&quot;color: #9cdcfe;&quot;&gt;transform&lt;/span&gt;: &lt;span style=&quot;color: #dcdcaa;&quot;&gt;translateY&lt;/span&gt;(&lt;span style=&quot;color: #b5cea8;&quot;&gt;-50%&lt;/span&gt;) &lt;span style=&quot;color: #dcdcaa;&quot;&gt;rotate&lt;/span&gt;(&lt;span style=&quot;color: #b5cea8;&quot;&gt;-180deg&lt;/span&gt;);&lt;/div&gt;&lt;div&gt;}&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #d7ba7d;&quot;&gt;.content&lt;/span&gt;{&lt;/div&gt;&lt;div&gt;  &lt;span style=&quot;color: #9cdcfe;&quot;&gt;position&lt;/span&gt;: &lt;span style=&quot;color: #ce9178;&quot;&gt;absolute&lt;/span&gt;;&lt;/div&gt;&lt;div&gt;  &lt;span style=&quot;color: #9cdcfe;&quot;&gt;top&lt;/span&gt;: &lt;span style=&quot;color: #b5cea8;&quot;&gt;50%&lt;/span&gt;;&lt;/div&gt;&lt;div&gt;  &lt;span style=&quot;color: #9cdcfe;&quot;&gt;left&lt;/span&gt;: &lt;span style=&quot;color: #b5cea8;&quot;&gt;50%&lt;/span&gt;;&lt;/div&gt;&lt;div&gt;  &lt;span style=&quot;color: #9cdcfe;&quot;&gt;transform&lt;/span&gt;: &lt;span style=&quot;color: #dcdcaa;&quot;&gt;translate&lt;/span&gt;(&lt;span style=&quot;color: #b5cea8;&quot;&gt;-50%&lt;/span&gt;,&lt;span style=&quot;color: #b5cea8;&quot;&gt;-50%&lt;/span&gt;);&lt;/div&gt;&lt;div&gt;  &lt;span style=&quot;color: #9cdcfe;&quot;&gt;color&lt;/span&gt;: &lt;span style=&quot;color: #ce9178;&quot;&gt;#202020&lt;/span&gt;;&lt;/div&gt;&lt;div&gt;  &lt;span style=&quot;color: #9cdcfe;&quot;&gt;z-index&lt;/span&gt;: &lt;span style=&quot;color: #b5cea8;&quot;&gt;-1&lt;/span&gt;;&lt;/div&gt;&lt;div&gt;  &lt;span style=&quot;color: #9cdcfe;&quot;&gt;text-align&lt;/span&gt;: &lt;span style=&quot;color: #ce9178;&quot;&gt;center&lt;/span&gt;;&lt;/div&gt;&lt;div&gt;}&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #d7ba7d;&quot;&gt;.content&lt;/span&gt; &lt;span style=&quot;color: #d7ba7d;&quot;&gt;.header&lt;/span&gt;{&lt;/div&gt;&lt;div&gt;  &lt;span style=&quot;color: #9cdcfe;&quot;&gt;font-size&lt;/span&gt;: &lt;span style=&quot;color: #b5cea8;&quot;&gt;45px&lt;/span&gt;;&lt;/div&gt;&lt;div&gt;  &lt;span style=&quot;color: #9cdcfe;&quot;&gt;font-weight&lt;/span&gt;: &lt;span style=&quot;color: #b5cea8;&quot;&gt;600&lt;/span&gt;;&lt;/div&gt;&lt;div&gt;}&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #d7ba7d;&quot;&gt;.content&lt;/span&gt; &lt;span style=&quot;color: #d7ba7d;&quot;&gt;p&lt;/span&gt;{&lt;/div&gt;&lt;div&gt;  &lt;span style=&quot;color: #9cdcfe;&quot;&gt;font-size&lt;/span&gt;: &lt;span style=&quot;color: #b5cea8;&quot;&gt;30px&lt;/span&gt;;&lt;/div&gt;&lt;div&gt;  &lt;span style=&quot;color: #9cdcfe;&quot;&gt;font-weight&lt;/span&gt;: &lt;span style=&quot;color: #b5cea8;&quot;&gt;500&lt;/span&gt;;&lt;/div&gt;&lt;div&gt;}&lt;/div&gt;&lt;div&gt;      &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;style&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;   &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;head&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;   &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;body&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;     &lt;/div&gt;&lt;div&gt;      &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;nav&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;class&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;sidebar show&quot;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;         &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;div&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;class&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;text&quot;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;            Side Menu&lt;/div&gt;&lt;div&gt;         &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;div&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;         &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;ul&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;            &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;li&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;class&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;active&quot;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;a&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;href&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;#&quot;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;Dashboard&lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;a&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;li&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;            &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;li&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;               &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;a&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;href&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;#&quot;&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;class&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;feat-btn&quot;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;Features&lt;/div&gt;&lt;div&gt;               &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;span&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;class&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;fas fa-caret-down first&quot;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;span&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;               &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;a&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;               &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;ul&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;class&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;feat-show&quot;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;                  &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;li&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;a&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;href&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;#&quot;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;Pages&lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;a&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;li&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;                  &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;li&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;a&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;href&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;#&quot;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;Elements&lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;a&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;li&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;               &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;ul&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;            &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;li&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;            &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;li&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;               &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;a&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;href&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;#&quot;&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;class&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;serv-btn&quot;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;Services&lt;/div&gt;&lt;div&gt;               &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;span&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;class&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;fas fa-caret-down second&quot;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;span&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;               &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;a&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;               &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;ul&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;class&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;serv-show&quot;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;                  &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;li&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;a&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;href&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;#&quot;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;App Design&lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;a&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;li&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;                  &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;li&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;a&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;href&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;#&quot;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;Web Design&lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;a&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;li&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;               &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;ul&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;            &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;li&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;            &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;li&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;a&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;href&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;#&quot;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;Portfolio&lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;a&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;li&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;            &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;li&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;a&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;href&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;#&quot;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;Overview&lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;a&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;li&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;            &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;li&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;a&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;href&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;#&quot;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;Shortcuts&lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;a&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;li&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;            &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;li&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;a&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;href&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;#&quot;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;Feedback&lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;a&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;li&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;         &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;ul&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;      &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;nav&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;      &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;div&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;class&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;content&quot;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;         &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;div&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;class&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;header&quot;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;            Sidebar Menu with sub-menu&lt;/div&gt;&lt;div&gt;         &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;div&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;         &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;p&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;            HTML CSS &amp;amp; Javascript (Full Tutorial)&lt;/div&gt;&lt;div&gt;         &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;p&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;      &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;div&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;      &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;script&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;        &lt;span style=&quot;color: #6a9955;&quot;&gt;//  $(&#39;.btn&#39;).click(function(){&lt;/span&gt;&lt;/div&gt;&lt;div&gt;        &lt;span style=&quot;color: #6a9955;&quot;&gt;//    $(this).toggleClass(&quot;click&quot;);&lt;/span&gt;&lt;/div&gt;&lt;div&gt;        &lt;span style=&quot;color: #6a9955;&quot;&gt;//    $(&#39;.sidebar&#39;).toggleClass(&quot;show&quot;);&lt;/span&gt;&lt;/div&gt;&lt;div&gt;        &lt;span style=&quot;color: #6a9955;&quot;&gt;//  });&lt;/span&gt;&lt;/div&gt;&lt;div&gt;           &lt;span style=&quot;color: #dcdcaa;&quot;&gt;$&lt;/span&gt;(&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;.feat-btn&#39;&lt;/span&gt;).&lt;span style=&quot;color: #dcdcaa;&quot;&gt;click&lt;/span&gt;(&lt;span style=&quot;color: #569cd6;&quot;&gt;function&lt;/span&gt;(){&lt;/div&gt;&lt;div&gt;             &lt;span style=&quot;color: #dcdcaa;&quot;&gt;$&lt;/span&gt;(&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;nav ul .feat-show&#39;&lt;/span&gt;).&lt;span style=&quot;color: #dcdcaa;&quot;&gt;toggleClass&lt;/span&gt;(&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;show&quot;&lt;/span&gt;);&lt;/div&gt;&lt;div&gt;             &lt;span style=&quot;color: #dcdcaa;&quot;&gt;$&lt;/span&gt;(&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;nav ul .first&#39;&lt;/span&gt;).&lt;span style=&quot;color: #dcdcaa;&quot;&gt;toggleClass&lt;/span&gt;(&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;rotate&quot;&lt;/span&gt;);&lt;/div&gt;&lt;div&gt;           });&lt;/div&gt;&lt;div&gt;           &lt;span style=&quot;color: #dcdcaa;&quot;&gt;$&lt;/span&gt;(&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;.serv-btn&#39;&lt;/span&gt;).&lt;span style=&quot;color: #dcdcaa;&quot;&gt;click&lt;/span&gt;(&lt;span style=&quot;color: #569cd6;&quot;&gt;function&lt;/span&gt;(){&lt;/div&gt;&lt;div&gt;             &lt;span style=&quot;color: #dcdcaa;&quot;&gt;$&lt;/span&gt;(&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;nav ul .serv-show&#39;&lt;/span&gt;).&lt;span style=&quot;color: #dcdcaa;&quot;&gt;toggleClass&lt;/span&gt;(&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;show1&quot;&lt;/span&gt;);&lt;/div&gt;&lt;div&gt;             &lt;span style=&quot;color: #dcdcaa;&quot;&gt;$&lt;/span&gt;(&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;nav ul .second&#39;&lt;/span&gt;).&lt;span style=&quot;color: #dcdcaa;&quot;&gt;toggleClass&lt;/span&gt;(&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;rotate&quot;&lt;/span&gt;);&lt;/div&gt;&lt;div&gt;           });&lt;/div&gt;&lt;div&gt;           &lt;span style=&quot;color: #dcdcaa;&quot;&gt;$&lt;/span&gt;(&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;nav ul li&#39;&lt;/span&gt;).&lt;span style=&quot;color: #dcdcaa;&quot;&gt;click&lt;/span&gt;(&lt;span style=&quot;color: #569cd6;&quot;&gt;function&lt;/span&gt;(){&lt;/div&gt;&lt;div&gt;             &lt;span style=&quot;color: #dcdcaa;&quot;&gt;$&lt;/span&gt;(&lt;span style=&quot;color: #569cd6;&quot;&gt;this&lt;/span&gt;).&lt;span style=&quot;color: #dcdcaa;&quot;&gt;addClass&lt;/span&gt;(&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;active&quot;&lt;/span&gt;).&lt;span style=&quot;color: #dcdcaa;&quot;&gt;siblings&lt;/span&gt;().&lt;span style=&quot;color: #dcdcaa;&quot;&gt;removeClass&lt;/span&gt;(&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;active&quot;&lt;/span&gt;);&lt;/div&gt;&lt;div&gt;           });&lt;/div&gt;&lt;div&gt;      &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;script&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;   &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;body&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;p&gt;&lt;span style=&quot;background-color: #1e1e1e; color: grey; font-family: &amp;quot;Droid Sans Mono&amp;quot;, &amp;quot;monospace&amp;quot;, monospace; font-size: 14px; white-space: pre;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;background-color: #1e1e1e; color: #569cd6; font-family: &amp;quot;Droid Sans Mono&amp;quot;, &amp;quot;monospace&amp;quot;, monospace; font-size: 14px; white-space: pre;&quot;&gt;html&lt;/span&gt;&lt;span style=&quot;background-color: #1e1e1e; color: grey; font-family: &amp;quot;Droid Sans Mono&amp;quot;, &amp;quot;monospace&amp;quot;, monospace; font-size: 14px; white-space: pre;&quot;&gt;&amp;gt;&lt;/span&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;b&gt;3 view - loginform.php&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style=&quot;background-color: #1e1e1e; color: #d4d4d4; font-family: &amp;quot;Droid Sans Mono&amp;quot;, &amp;quot;monospace&amp;quot;, monospace; font-size: 14px; line-height: 19px; white-space: pre;&quot;&gt;&lt;div&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;&amp;lt;?=&lt;/span&gt; &lt;span style=&quot;color: #569cd6;&quot;&gt;$this&lt;/span&gt;-&amp;gt;&lt;span style=&quot;color: #dcdcaa;&quot;&gt;include&lt;/span&gt;(&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;header&#39;&lt;/span&gt;)&lt;span style=&quot;color: #569cd6;&quot;&gt;?&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;div&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;!&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;DOCTYPE&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;html&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;html&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;lang&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;en&quot;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;head&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;    &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;meta&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;charset&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;UTF-8&quot;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;    &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;meta&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;http-equiv&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;X-UA-Compatible&quot;&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;content&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;IE=edge&quot;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;    &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;meta&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;name&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;viewport&quot;&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;content&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;width=device-width, initial-scale=1.0&quot;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;    &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;title&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;Document&lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;title&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;    &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;link&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;rel&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;stylesheet&quot;&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;href&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;https://cdn.jsdelivr.net/npm/bootstrap@4.0.0/dist/css/bootstrap.min.css&quot;&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;integrity&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm&quot;&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;crossorigin&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;anonymous&quot;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;    &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;script&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;src&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;https://ajax.googleapis.com/ajax/libs/jquery/3.6.4/jquery.min.js&quot;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;script&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;    &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;script&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;src&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;https://cdn.jsdelivr.net/npm/popper.js@1.12.9/dist/umd/popper.min.js&quot;&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;integrity&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;sha384-ApNbgh9B+Y1QKtv3Rn7W3mgPxhU9K/ScQsAP7hUibX39j7fakFPskvXusvfa0b4Q&quot;&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;crossorigin&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;anonymous&quot;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;script&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;    &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;script&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;src&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;https://cdn.jsdelivr.net/npm/bootstrap@4.0.0/dist/js/bootstrap.min.js&quot;&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;integrity&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;sha384-JZR6Spejh4U02d8jOt6vLEHfe/JQGiRRSQQxSfFWpi1MquVdAyjUar5+76PVCmYl&quot;&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;crossorigin&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;anonymous&quot;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;script&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;    &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;script&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;src&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;&amp;lt;?=&lt;/span&gt; &lt;span style=&quot;color: #dcdcaa;&quot;&gt;base_url&lt;/span&gt;(&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;assets/js/custom.js&#39;&lt;/span&gt;)&lt;span style=&quot;color: #569cd6;&quot;&gt;?&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;script&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;head&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;body&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;    &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;div&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;class&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;container mt-4&quot;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;    &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;div&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;class&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;row col-lg-12&quot;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;                    &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;div&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;class&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;col-lg-12 alert alert-success alert-dismissible fade show text-center mb-3 d-none&quot;&lt;/span&gt;  &lt;span style=&quot;color: #9cdcfe;&quot;&gt;role&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;alert&quot;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;                        &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;i&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;id&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;inserted&quot;&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;class&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;mdi mdi-check-all me-2&quot;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;i&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;                    &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;div&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;              &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;br&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;/&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;       &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;div&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;    &lt;span style=&quot;color: #569cd6;&quot;&gt;&amp;lt;?php&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;$validation&lt;/span&gt; = \Config\&lt;span style=&quot;color: #4ec9b0;&quot;&gt;Services&lt;/span&gt;::&lt;span style=&quot;color: #dcdcaa;&quot;&gt;validation&lt;/span&gt;(); &lt;span style=&quot;color: #569cd6;&quot;&gt;?&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;        &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;div&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;class&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;row col-lg-8 m-auto&quot;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;            &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;h2&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;class&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;text m-4 font-weight-bold&quot;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;Login Form&lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;h2&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;        &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;div&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;    &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;div&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;class&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;col-lg-10 m-auto&quot;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;    &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;form&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;action&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;&amp;lt;?php&lt;/span&gt; &lt;span style=&quot;color: #dcdcaa;&quot;&gt;echo&lt;/span&gt; &lt;span style=&quot;color: #dcdcaa;&quot;&gt;base_url&lt;/span&gt;(&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;/logindata&#39;&lt;/span&gt;)&lt;span style=&quot;color: #569cd6;&quot;&gt;?&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;&lt;/span&gt;  &lt;span style=&quot;color: #9cdcfe;&quot;&gt;method&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;post&quot;&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;enctype&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;multipart/form-data&quot;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;        &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;div&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;class&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;form-group &quot;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;            &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;label&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;for&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;email&quot;&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;class&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;col-sm-2 col-form-label&quot;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;Email&lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;label&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;            &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;div&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;class&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;col-sm-10&quot;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;            &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;input&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;type&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;text&quot;&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;class&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;form-control&quot;&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;name&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;email&quot;&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;id&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;aemail&quot;&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;placeholder&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;Email&quot;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;            &lt;span style=&quot;color: #569cd6;&quot;&gt;&amp;lt;?php&lt;/span&gt; &lt;span style=&quot;color: #c586c0;&quot;&gt;if&lt;/span&gt;(&lt;span style=&quot;color: #9cdcfe;&quot;&gt;$validation&lt;/span&gt;-&amp;gt;&lt;span style=&quot;color: #dcdcaa;&quot;&gt;getError&lt;/span&gt;(&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;email&#39;&lt;/span&gt;)){&lt;span style=&quot;color: #569cd6;&quot;&gt;?&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;&amp;gt;&lt;/span&gt; &lt;/div&gt;&lt;div&gt;                &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;div&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;class&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;alert alert-danger mt-2 col-sm-12&quot;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;                     &lt;span style=&quot;color: #569cd6;&quot;&gt;&amp;lt;?=&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;$validation&lt;/span&gt;-&amp;gt;&lt;span style=&quot;color: #dcdcaa;&quot;&gt;getError&lt;/span&gt;(&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;email&#39;&lt;/span&gt;)&lt;span style=&quot;color: #569cd6;&quot;&gt;?&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;                &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;div&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;            &lt;span style=&quot;color: #569cd6;&quot;&gt;&amp;lt;?php&lt;/span&gt; }&lt;span style=&quot;color: #569cd6;&quot;&gt;?&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;            &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;div&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;        &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;div&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;        &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;div&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;class&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;form-group&quot;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;            &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;label&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;for&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;Phone&quot;&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;class&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;col-sm-2 col-form-label&quot;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;Password&lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;label&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;            &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;div&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;class&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;col-sm-10&quot;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;            &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;input&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;type&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;text&quot;&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;class&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;form-control&quot;&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;name&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;password&quot;&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;id&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;password&quot;&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;placeholder&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;Enter Your Password&quot;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;            &lt;span style=&quot;color: #569cd6;&quot;&gt;&amp;lt;?php&lt;/span&gt; &lt;span style=&quot;color: #c586c0;&quot;&gt;if&lt;/span&gt;(&lt;span style=&quot;color: #9cdcfe;&quot;&gt;$validation&lt;/span&gt;-&amp;gt;&lt;span style=&quot;color: #dcdcaa;&quot;&gt;getError&lt;/span&gt;(&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;password&#39;&lt;/span&gt;)){&lt;span style=&quot;color: #569cd6;&quot;&gt;?&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;&amp;gt;&lt;/span&gt; &lt;/div&gt;&lt;div&gt;                &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;div&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;class&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;alert alert-danger mt-2 col-sm-12&quot;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;                     &lt;span style=&quot;color: #569cd6;&quot;&gt;&amp;lt;?=&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;$validation&lt;/span&gt;-&amp;gt;&lt;span style=&quot;color: #dcdcaa;&quot;&gt;getError&lt;/span&gt;(&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;password&#39;&lt;/span&gt;)&lt;span style=&quot;color: #569cd6;&quot;&gt;?&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;                &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;div&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;            &lt;span style=&quot;color: #569cd6;&quot;&gt;&amp;lt;?php&lt;/span&gt; }&lt;span style=&quot;color: #569cd6;&quot;&gt;?&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;            &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;div&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;        &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;div&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;        &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;div&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;class&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;form-group row&quot;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;            &lt;/div&gt;&lt;div&gt;            &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;div&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;class&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;col-sm-8&quot;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;            &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;input&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;type&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;submit&quot;&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;class&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;btn btn-primary&quot;&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;id&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;ajaxsubmit&quot;&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;value&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;Login&quot;&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;placeholder&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;save&quot;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;            &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;div&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;        &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;div&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;    &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;form&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;    &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;div&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt; &lt;/div&gt;&lt;div&gt;    &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;div&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;body&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;html&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;p&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;b&gt;4 view- user registration form.php&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style=&quot;background-color: #1e1e1e; color: #d4d4d4; font-family: &amp;quot;Droid Sans Mono&amp;quot;, &amp;quot;monospace&amp;quot;, monospace; line-height: 19px; white-space: pre;&quot;&gt;&lt;div&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;&amp;lt;?=&lt;/span&gt; &lt;span style=&quot;color: #569cd6;&quot;&gt;$this&lt;/span&gt;-&amp;gt;&lt;span style=&quot;color: #dcdcaa;&quot;&gt;include&lt;/span&gt;(&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;header&#39;&lt;/span&gt;)&lt;span style=&quot;color: #569cd6;&quot;&gt;?&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;div style=&quot;font-size: 14px;&quot;&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;!&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;DOCTYPE&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;html&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-size: 14px;&quot;&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;html&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;lang&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;en&quot;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-size: 14px;&quot;&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;head&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-size: 14px;&quot;&gt;    &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;meta&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;charset&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;UTF-8&quot;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-size: 14px;&quot;&gt;    &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;meta&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;http-equiv&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;X-UA-Compatible&quot;&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;content&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;IE=edge&quot;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-size: 14px;&quot;&gt;    &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;meta&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;name&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;viewport&quot;&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;content&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;width=device-width, initial-scale=1.0&quot;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-size: 14px;&quot;&gt;    &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;title&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;Document&lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;title&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-size: 14px;&quot;&gt;    &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;link&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;rel&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;stylesheet&quot;&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;href&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;https://cdn.jsdelivr.net/npm/bootstrap@4.0.0/dist/css/bootstrap.min.css&quot;&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;integrity&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm&quot;&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;crossorigin&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;anonymous&quot;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;div style=&quot;font-size: 14px;&quot;&gt;    &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;script&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;src&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;https://ajax.googleapis.com/ajax/libs/jquery/3.6.4/jquery.min.js&quot;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;script&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-size: 14px;&quot;&gt;   &lt;span style=&quot;color: #6a9955;&quot;&gt;&amp;lt;!-- ajaxForm --&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-size: 14px;&quot;&gt;    &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;script&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;src&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;https://cdnjs.cloudflare.com/ajax/libs/jquery.form/4.3.0/jquery.form.min.js&quot;&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;integrity&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;sha384-qlmct0AOBiA2VPZkMY3+2WqkHtIQ9lSdAsAn5RUJD/3vA5MKDgSGcdmIv4ycVxyn&quot;&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;crossorigin&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;anonymous&quot;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;script&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-size: 14px;&quot;&gt;&lt;span style=&quot;color: #6a9955;&quot;&gt;&amp;lt;!-- End ajaxForm --&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-size: 14px;&quot;&gt;   &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;script&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;src&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;https://cdn.jsdelivr.net/npm/popper.js@1.12.9/dist/umd/popper.min.js&quot;&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;integrity&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;sha384-ApNbgh9B+Y1QKtv3Rn7W3mgPxhU9K/ScQsAP7hUibX39j7fakFPskvXusvfa0b4Q&quot;&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;crossorigin&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;anonymous&quot;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;script&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-size: 14px;&quot;&gt;    &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;script&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;src&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;https://cdn.jsdelivr.net/npm/bootstrap@4.0.0/dist/js/bootstrap.min.js&quot;&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;integrity&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;sha384-JZR6Spejh4U02d8jOt6vLEHfe/JQGiRRSQQxSfFWpi1MquVdAyjUar5+76PVCmYl&quot;&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;crossorigin&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;anonymous&quot;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;script&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-size: 14px;&quot;&gt;    &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;script&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;src&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;&amp;lt;?=&lt;/span&gt; &lt;span style=&quot;color: #dcdcaa;&quot;&gt;base_url&lt;/span&gt;(&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;assets/js/custom.js&#39;&lt;/span&gt;)&lt;span style=&quot;color: #569cd6;&quot;&gt;?&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;script&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-size: 14px;&quot;&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;head&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-size: 14px;&quot;&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;body&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-size: 14px;&quot;&gt;    &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;div&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;class&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;container mt-4&quot;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-size: 14px;&quot;&gt;    &lt;span style=&quot;color: #569cd6;&quot;&gt;&amp;lt;?php&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;$validation&lt;/span&gt; = \Config\&lt;span style=&quot;color: #4ec9b0;&quot;&gt;Services&lt;/span&gt;::&lt;span style=&quot;color: #dcdcaa;&quot;&gt;validation&lt;/span&gt;(); &lt;span style=&quot;color: #569cd6;&quot;&gt;?&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;div style=&quot;font-size: 14px;&quot;&gt;    &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;div&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;class&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;col-lg-12&quot;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-size: 14px;&quot;&gt;            &lt;span style=&quot;color: #569cd6;&quot;&gt;&amp;lt;?php&lt;/span&gt; &lt;span style=&quot;color: #c586c0;&quot;&gt;if&lt;/span&gt; (&lt;span style=&quot;color: #dcdcaa;&quot;&gt;session&lt;/span&gt;()-&amp;gt;&lt;span style=&quot;color: #dcdcaa;&quot;&gt;getFlashdata&lt;/span&gt;(&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;added&#39;&lt;/span&gt;) !== &lt;span style=&quot;color: #569cd6;&quot;&gt;NULL&lt;/span&gt;) { &lt;span style=&quot;color: #569cd6;&quot;&gt;?&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-size: 14px;&quot;&gt;                &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;div&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;class&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;col-lg-12 alert alert-success alert-dismissible fade show text-center mb-3&quot;&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;role&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;alert&quot;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-size: 14px;&quot;&gt;                    &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;i&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;class&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;mdi mdi-check-all me-2&quot;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;i&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-size: 14px;&quot;&gt;                    &lt;span style=&quot;color: #569cd6;&quot;&gt;&amp;lt;?php&lt;/span&gt; &lt;span style=&quot;color: #dcdcaa;&quot;&gt;echo&lt;/span&gt; &lt;span style=&quot;color: #dcdcaa;&quot;&gt;session&lt;/span&gt;()-&amp;gt;&lt;span style=&quot;color: #dcdcaa;&quot;&gt;getFlashdata&lt;/span&gt;(&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;added&#39;&lt;/span&gt;); &lt;span style=&quot;color: #569cd6;&quot;&gt;?&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-size: 14px;&quot;&gt;                &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;div&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-size: 14px;&quot;&gt;            &lt;span style=&quot;color: #569cd6;&quot;&gt;&amp;lt;?php&lt;/span&gt; } &lt;span style=&quot;color: #569cd6;&quot;&gt;?&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-size: 14px;&quot;&gt;        &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;div&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;div style=&quot;font-size: 14px;&quot;&gt;        &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;div&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;class&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;col-lg-12&quot;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-size: 14px;&quot;&gt;            &lt;span style=&quot;color: #569cd6;&quot;&gt;&amp;lt;?php&lt;/span&gt; &lt;span style=&quot;color: #c586c0;&quot;&gt;if&lt;/span&gt; (&lt;span style=&quot;color: #dcdcaa;&quot;&gt;session&lt;/span&gt;()-&amp;gt;&lt;span style=&quot;color: #dcdcaa;&quot;&gt;getFlashdata&lt;/span&gt;(&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;exist&#39;&lt;/span&gt;) !== &lt;span style=&quot;color: #569cd6;&quot;&gt;NULL&lt;/span&gt;) { &lt;span style=&quot;color: #569cd6;&quot;&gt;?&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-size: 14px;&quot;&gt;                &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;div&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;class&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;col-lg-12 alert alert-warning alert-dismissible fade show text-center mb-3&quot;&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;role&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;alert&quot;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-size: 14px;&quot;&gt;                    &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;i&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;class&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;mdi mdi-check-all me-2&quot;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;i&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-size: 14px;&quot;&gt;                    &lt;span style=&quot;color: #569cd6;&quot;&gt;&amp;lt;?php&lt;/span&gt; &lt;span style=&quot;color: #dcdcaa;&quot;&gt;echo&lt;/span&gt; &lt;span style=&quot;color: #dcdcaa;&quot;&gt;session&lt;/span&gt;()-&amp;gt;&lt;span style=&quot;color: #dcdcaa;&quot;&gt;getFlashdata&lt;/span&gt;(&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;exist&#39;&lt;/span&gt;); &lt;span style=&quot;color: #569cd6;&quot;&gt;?&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-size: 14px;&quot;&gt;                &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;div&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-size: 14px;&quot;&gt;            &lt;span style=&quot;color: #569cd6;&quot;&gt;&amp;lt;?php&lt;/span&gt; } &lt;span style=&quot;color: #569cd6;&quot;&gt;?&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-size: 14px;&quot;&gt;        &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;div&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;div style=&quot;font-size: 14px;&quot;&gt;        &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;div&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;class&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;row&quot;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-size: 14px;&quot;&gt;            &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;h2&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;class&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;text m-4 font-weight-bold&quot;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;Registration Form&lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;h2&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;div style=&quot;font-size: 14px;&quot;&gt;            &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;div&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;class&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;mt-5 mb-2&quot;&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;style&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color: #ce9178;&quot;&gt;margin-left:530px&lt;/span&gt;&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-size: 14px;&quot;&gt;                &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;a&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;class&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;btn btn-primary&quot;&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;href&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;&amp;lt;?php&lt;/span&gt; &lt;span style=&quot;color: #dcdcaa;&quot;&gt;echo&lt;/span&gt; &lt;span style=&quot;color: #dcdcaa;&quot;&gt;base_url&lt;/span&gt;(&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;/&#39;&lt;/span&gt;)&lt;span style=&quot;color: #569cd6;&quot;&gt;?&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;Back&lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;a&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-size: 14px;&quot;&gt;            &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;div&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-size: 14px;&quot;&gt;        &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;div&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;div style=&quot;font-size: 14px;&quot;&gt;    &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;form&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;action&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;&amp;lt;?php&lt;/span&gt; &lt;span style=&quot;color: #dcdcaa;&quot;&gt;echo&lt;/span&gt; &lt;span style=&quot;color: #dcdcaa;&quot;&gt;base_url&lt;/span&gt;(&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;/savedata&#39;&lt;/span&gt;)&lt;span style=&quot;color: #569cd6;&quot;&gt;?&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;&lt;/span&gt;  &lt;span style=&quot;color: #9cdcfe;&quot;&gt;method&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;post&quot;&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;enctype&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;multipart/form-data&quot;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-size: 14px;&quot;&gt;        &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;div&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;class&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;form-group&quot;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-size: 14px;&quot;&gt;            &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;label&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;for&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;name&quot;&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;class&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;col-sm-2 col-form-label&quot;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;name&lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;label&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-size: 14px;&quot;&gt;            &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;div&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;class&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;col-sm-10&quot;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-size: 14px;&quot;&gt;            &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;input&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;type&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;text&quot;&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;class&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;form-control&quot;&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;name&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;name&quot;&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;id&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;name&quot;&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;placeholder&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;name&quot;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-size: 14px;&quot;&gt;            &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;div&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-size: 14px;&quot;&gt;            &lt;span style=&quot;color: #569cd6;&quot;&gt;&amp;lt;?php&lt;/span&gt; &lt;span style=&quot;color: #c586c0;&quot;&gt;if&lt;/span&gt;(&lt;span style=&quot;color: #9cdcfe;&quot;&gt;$validation&lt;/span&gt;-&amp;gt;&lt;span style=&quot;color: #dcdcaa;&quot;&gt;getError&lt;/span&gt;(&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;name&#39;&lt;/span&gt;)) {&lt;span style=&quot;color: #569cd6;&quot;&gt;?&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-size: 14px;&quot;&gt;            &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;div&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;class&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;alert alert-danger mt-2 col-sm-10&#39;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-size: 14px;&quot;&gt;              &lt;span style=&quot;color: #569cd6;&quot;&gt;&amp;lt;?=&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;$error&lt;/span&gt; = &lt;span style=&quot;color: #9cdcfe;&quot;&gt;$validation&lt;/span&gt;-&amp;gt;&lt;span style=&quot;color: #dcdcaa;&quot;&gt;getError&lt;/span&gt;(&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;name&#39;&lt;/span&gt;); &lt;span style=&quot;color: #569cd6;&quot;&gt;?&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-size: 14px;&quot;&gt;            &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;div&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-size: 14px;&quot;&gt;        &lt;span style=&quot;color: #569cd6;&quot;&gt;&amp;lt;?php&lt;/span&gt; }&lt;span style=&quot;color: #569cd6;&quot;&gt;?&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-size: 14px;&quot;&gt;        &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;div&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-size: 14px;&quot;&gt;        &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;div&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;class&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;form-group &quot;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-size: 14px;&quot;&gt;            &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;label&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;for&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;email&quot;&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;class&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;col-sm-2 col-form-label&quot;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;Email&lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;label&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-size: 14px;&quot;&gt;            &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;div&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;class&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;col-sm-10&quot;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-size: 14px;&quot;&gt;            &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;input&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;type&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;text&quot;&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;class&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;form-control&quot;&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;name&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;email&quot;&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;id&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;email&quot;&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;placeholder&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;Email&quot;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-size: 14px;&quot;&gt;            &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;div&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-size: 14px;&quot;&gt;            &lt;span style=&quot;color: #569cd6;&quot;&gt;&amp;lt;?php&lt;/span&gt; &lt;span style=&quot;color: #c586c0;&quot;&gt;if&lt;/span&gt;(&lt;span style=&quot;color: #9cdcfe;&quot;&gt;$validation&lt;/span&gt;-&amp;gt;&lt;span style=&quot;color: #dcdcaa;&quot;&gt;getError&lt;/span&gt;(&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;email&#39;&lt;/span&gt;)){ &lt;span style=&quot;color: #569cd6;&quot;&gt;?&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-size: 14px;&quot;&gt;              &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;div&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;class&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;alert alert-danger mt-2 col-sm-10&quot;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-size: 14px;&quot;&gt;                &lt;span style=&quot;color: #569cd6;&quot;&gt;&amp;lt;?=&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;$validation&lt;/span&gt;-&amp;gt;&lt;span style=&quot;color: #dcdcaa;&quot;&gt;getError&lt;/span&gt;(&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;email&#39;&lt;/span&gt;)&lt;span style=&quot;color: #569cd6;&quot;&gt;?&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-size: 14px;&quot;&gt;              &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;div&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-size: 14px;&quot;&gt;            &lt;span style=&quot;color: #569cd6;&quot;&gt;&amp;lt;?php&lt;/span&gt; }&lt;span style=&quot;color: #569cd6;&quot;&gt;?&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-size: 14px;&quot;&gt;        &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;div&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;div style=&quot;font-size: 14px;&quot;&gt;        &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;div&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;class&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;form-group&quot;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-size: 14px;&quot;&gt;            &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;label&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;for&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;Phone&quot;&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;class&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;col-sm-2 col-form-label&quot;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;Phone&lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;label&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-size: 14px;&quot;&gt;            &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;div&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;class&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;col-sm-10&quot;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-size: 14px;&quot;&gt;            &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;input&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;type&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;number&quot;&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;class&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;form-control&quot;&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;name&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;phone&quot;&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;id&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;phone&quot;&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;placeholder&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;Phone&quot;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-size: 14px;&quot;&gt;            &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;div&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-size: 14px;&quot;&gt;            &lt;span style=&quot;color: #569cd6;&quot;&gt;&amp;lt;?php&lt;/span&gt; &lt;span style=&quot;color: #c586c0;&quot;&gt;if&lt;/span&gt;(&lt;span style=&quot;color: #9cdcfe;&quot;&gt;$validation&lt;/span&gt;-&amp;gt;&lt;span style=&quot;color: #dcdcaa;&quot;&gt;getError&lt;/span&gt;(&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;phone&#39;&lt;/span&gt;)){&lt;span style=&quot;color: #569cd6;&quot;&gt;?&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;&amp;gt;&lt;/span&gt; &lt;/div&gt;&lt;div style=&quot;font-size: 14px;&quot;&gt;                &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;div&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;class&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;alert alert-danger mt-2 col-sm-10&quot;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-size: 14px;&quot;&gt;                     &lt;span style=&quot;color: #569cd6;&quot;&gt;&amp;lt;?=&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;$validation&lt;/span&gt;-&amp;gt;&lt;span style=&quot;color: #dcdcaa;&quot;&gt;getError&lt;/span&gt;(&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;phone&#39;&lt;/span&gt;)&lt;span style=&quot;color: #569cd6;&quot;&gt;?&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-size: 14px;&quot;&gt;                &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;div&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-size: 14px;&quot;&gt;            &lt;span style=&quot;color: #569cd6;&quot;&gt;&amp;lt;?php&lt;/span&gt; }&lt;span style=&quot;color: #569cd6;&quot;&gt;?&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-size: 14px;&quot;&gt;        &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;div&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;div style=&quot;font-size: 14px;&quot;&gt;        &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;div&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;class&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;form-group &quot;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-size: 14px;&quot;&gt;            &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;label&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;for&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;password&quot;&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;class&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;col-sm-2 col-form-label&quot;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;password&lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;label&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-size: 14px;&quot;&gt;            &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;div&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;class&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;col-sm-10&quot;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-size: 14px;&quot;&gt;            &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;input&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;type&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;text&quot;&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;class&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;form-control&quot;&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;name&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;password&quot;&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;id&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;password&quot;&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;placeholder&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;Create password&quot;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-size: 14px;&quot;&gt;            &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;div&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-size: 14px;&quot;&gt;            &lt;span style=&quot;color: #569cd6;&quot;&gt;&amp;lt;?php&lt;/span&gt; &lt;span style=&quot;color: #c586c0;&quot;&gt;if&lt;/span&gt;(&lt;span style=&quot;color: #9cdcfe;&quot;&gt;$validation&lt;/span&gt;-&amp;gt;&lt;span style=&quot;color: #dcdcaa;&quot;&gt;getError&lt;/span&gt;(&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;password&#39;&lt;/span&gt;)){ &lt;span style=&quot;color: #569cd6;&quot;&gt;?&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-size: 14px;&quot;&gt;              &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;div&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;class&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;alert alert-danger mt-2 col-sm-10&quot;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-size: 14px;&quot;&gt;                &lt;span style=&quot;color: #569cd6;&quot;&gt;&amp;lt;?=&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;$validation&lt;/span&gt;-&amp;gt;&lt;span style=&quot;color: #dcdcaa;&quot;&gt;getError&lt;/span&gt;(&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;password&#39;&lt;/span&gt;)&lt;span style=&quot;color: #569cd6;&quot;&gt;?&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-size: 14px;&quot;&gt;              &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;div&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-size: 14px;&quot;&gt;            &lt;span style=&quot;color: #569cd6;&quot;&gt;&amp;lt;?php&lt;/span&gt; }&lt;span style=&quot;color: #569cd6;&quot;&gt;?&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-size: 14px;&quot;&gt;        &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;div&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;div style=&quot;font-size: 14px;&quot;&gt;        &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;div&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;class&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;form-group&quot;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-size: 14px;&quot;&gt;            &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;label&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;for&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;Phone&quot;&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;class&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;col-sm-2 col-form-label&quot;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;Photo&lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;label&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-size: 14px;&quot;&gt;            &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;div&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;class&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;col-sm-10&quot;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-size: 14px;&quot;&gt;            &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;input&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;type&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;file&quot;&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;class&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;form-control&quot;&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;name&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;file&quot;&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;id&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;file&quot;&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;placeholder&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;File&quot;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-size: 14px;&quot;&gt;            &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;div&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-size: 14px;&quot;&gt;            &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;div&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;class&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;col-sm-10 m-2 progress d-none&quot;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-size: 14px;&quot;&gt;              &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;div&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;class&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;progress-bar bar progress-bar-striped progress-bar-animated&quot;&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;role&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;progressbar&quot;&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;aria-valuenow&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;75&quot;&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;aria-valuemin&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;0&quot;&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;aria-valuemax&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;100&quot;&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;style&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color: #ce9178;&quot;&gt;width: 75%&lt;/span&gt;&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;div&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-size: 14px;&quot;&gt;            &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;div&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-size: 14px;&quot;&gt;            &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;div&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;class&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;col-sm-10 m-2 alert alert-success d-none&quot;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-size: 14px;&quot;&gt;            &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;span&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;span&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-size: 14px;&quot;&gt;        &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;div&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-size: 14px;&quot;&gt;            &lt;span style=&quot;color: #569cd6;&quot;&gt;&amp;lt;?php&lt;/span&gt; &lt;span style=&quot;color: #c586c0;&quot;&gt;if&lt;/span&gt;(&lt;span style=&quot;color: #9cdcfe;&quot;&gt;$validation&lt;/span&gt;-&amp;gt;&lt;span style=&quot;color: #dcdcaa;&quot;&gt;getError&lt;/span&gt;(&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;phone&#39;&lt;/span&gt;)){&lt;span style=&quot;color: #569cd6;&quot;&gt;?&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;&amp;gt;&lt;/span&gt; &lt;/div&gt;&lt;div style=&quot;font-size: 14px;&quot;&gt;                &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;div&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;class&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;alert alert-danger mt-2 col-sm-10&quot;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-size: 14px;&quot;&gt;                     &lt;span style=&quot;color: #569cd6;&quot;&gt;&amp;lt;?=&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;$validation&lt;/span&gt;-&amp;gt;&lt;span style=&quot;color: #dcdcaa;&quot;&gt;getError&lt;/span&gt;(&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;file&#39;&lt;/span&gt;)&lt;span style=&quot;color: #569cd6;&quot;&gt;?&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-size: 14px;&quot;&gt;                &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;div&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-size: 14px;&quot;&gt;            &lt;span style=&quot;color: #569cd6;&quot;&gt;&amp;lt;?php&lt;/span&gt; }&lt;span style=&quot;color: #569cd6;&quot;&gt;?&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-size: 14px;&quot;&gt;        &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;div&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-size: 14px;&quot;&gt;        &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;div&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;class&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;form-group row&quot;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-size: 14px;&quot;&gt;            &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;div&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;class&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;col-sm-8 d-flex&quot;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-size: 14px;&quot;&gt;            &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;input&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;type&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;submit&quot;&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;class&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;btn btn-primary&quot;&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;id&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;submit&quot;&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;value&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;submit&quot;&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;placeholder&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;save&quot;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-size: 14px;&quot;&gt;            &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;div&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-size: 14px;&quot;&gt;        &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;div&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-size: 14px;&quot;&gt;    &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;form&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt; &lt;/div&gt;&lt;div style=&quot;font-size: 14px;&quot;&gt;    &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;div&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;div style=&quot;font-size: 14px;&quot;&gt;    &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;script&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-size: 14px;&quot;&gt;        &lt;span style=&quot;color: #dcdcaa;&quot;&gt;$&lt;/span&gt;(&lt;span style=&quot;color: #9cdcfe;&quot;&gt;document&lt;/span&gt;).&lt;span style=&quot;color: #dcdcaa;&quot;&gt;ready&lt;/span&gt;(&lt;span style=&quot;color: #569cd6;&quot;&gt;function&lt;/span&gt;(){&lt;/div&gt;&lt;div style=&quot;font-size: 14px;&quot;&gt;            &lt;span style=&quot;color: #dcdcaa;&quot;&gt;$&lt;/span&gt;(&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;form&#39;&lt;/span&gt;).&lt;span style=&quot;color: #dcdcaa;&quot;&gt;ajaxForm&lt;/span&gt;({&lt;/div&gt;&lt;div style=&quot;font-size: 14px;&quot;&gt;                &lt;span style=&quot;color: #dcdcaa;&quot;&gt;beforeSend&lt;/span&gt;&lt;span style=&quot;color: #9cdcfe;&quot;&gt;:&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;function&lt;/span&gt;(){&lt;/div&gt;&lt;div style=&quot;font-size: 14px;&quot;&gt;                    &lt;span style=&quot;color: #c586c0;&quot;&gt;if&lt;/span&gt;(&lt;span style=&quot;color: #dcdcaa;&quot;&gt;$&lt;/span&gt;(&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;#file&#39;&lt;/span&gt;).&lt;span style=&quot;color: #dcdcaa;&quot;&gt;val&lt;/span&gt;() !=&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;&#39;&lt;/span&gt;) {&lt;/div&gt;&lt;div style=&quot;font-size: 14px;&quot;&gt;                    &lt;span style=&quot;color: #dcdcaa;&quot;&gt;$&lt;/span&gt;(&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;.progress&#39;&lt;/span&gt;).&lt;span style=&quot;color: #dcdcaa;&quot;&gt;removeClass&lt;/span&gt;(&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;d-none&#39;&lt;/span&gt;);&lt;/div&gt;&lt;div style=&quot;font-size: 14px;&quot;&gt;                    &lt;span style=&quot;color: #569cd6;&quot;&gt;var&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;percentVal&lt;/span&gt; = &lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;0%&quot;&lt;/span&gt;;&lt;/div&gt;&lt;div style=&quot;font-size: 14px;&quot;&gt;                    &lt;span style=&quot;color: #dcdcaa;&quot;&gt;$&lt;/span&gt;(&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;.bar&#39;&lt;/span&gt;).&lt;span style=&quot;color: #dcdcaa;&quot;&gt;css&lt;/span&gt;(&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;width&#39;&lt;/span&gt;,&lt;span style=&quot;color: #9cdcfe;&quot;&gt;percentVal&lt;/span&gt;);&lt;/div&gt;&lt;div style=&quot;font-size: 14px;&quot;&gt;                    }&lt;/div&gt;&lt;div style=&quot;font-size: 14px;&quot;&gt;                },&lt;/div&gt;&lt;div style=&quot;font-size: 14px;&quot;&gt;                &lt;span style=&quot;color: #dcdcaa;&quot;&gt;uploadProgress&lt;/span&gt;&lt;span style=&quot;color: #9cdcfe;&quot;&gt;:&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;function&lt;/span&gt;(&lt;span style=&quot;color: #9cdcfe;&quot;&gt;event&lt;/span&gt;,&lt;span style=&quot;color: #9cdcfe;&quot;&gt;position&lt;/span&gt;,&lt;span style=&quot;color: #9cdcfe;&quot;&gt;total&lt;/span&gt;,&lt;span style=&quot;color: #9cdcfe;&quot;&gt;percentagecomplete&lt;/span&gt;){&lt;/div&gt;&lt;div style=&quot;font-size: 14px;&quot;&gt;                    &lt;span style=&quot;color: #c586c0;&quot;&gt;if&lt;/span&gt;(&lt;span style=&quot;color: #dcdcaa;&quot;&gt;$&lt;/span&gt;(&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;#file&#39;&lt;/span&gt;).&lt;span style=&quot;color: #dcdcaa;&quot;&gt;val&lt;/span&gt;() !=&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;&#39;&lt;/span&gt;) {&lt;/div&gt;&lt;div style=&quot;font-size: 14px;&quot;&gt;                    &lt;span style=&quot;color: #569cd6;&quot;&gt;var&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;percentVal&lt;/span&gt; = &lt;span style=&quot;color: #9cdcfe;&quot;&gt;percentagecomplete&lt;/span&gt;+&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;%&quot;&lt;/span&gt;;&lt;/div&gt;&lt;div style=&quot;font-size: 14px;&quot;&gt;                    &lt;span style=&quot;color: #dcdcaa;&quot;&gt;$&lt;/span&gt;(&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;.bar&#39;&lt;/span&gt;).&lt;span style=&quot;color: #dcdcaa;&quot;&gt;css&lt;/span&gt;(&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;width&#39;&lt;/span&gt;,&lt;span style=&quot;color: #9cdcfe;&quot;&gt;percentVal&lt;/span&gt;);&lt;/div&gt;&lt;div style=&quot;font-size: 14px;&quot;&gt;                    }&lt;/div&gt;&lt;div style=&quot;font-size: 14px;&quot;&gt;                },&lt;/div&gt;&lt;div style=&quot;font-size: 14px;&quot;&gt;                &lt;span style=&quot;color: #dcdcaa;&quot;&gt;complete&lt;/span&gt;&lt;span style=&quot;color: #9cdcfe;&quot;&gt;:&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;function&lt;/span&gt;(){&lt;/div&gt;&lt;div style=&quot;font-size: 14px;&quot;&gt;                    &lt;span style=&quot;color: #c586c0;&quot;&gt;if&lt;/span&gt;(&lt;span style=&quot;color: #dcdcaa;&quot;&gt;$&lt;/span&gt;(&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;#file&#39;&lt;/span&gt;).&lt;span style=&quot;color: #dcdcaa;&quot;&gt;val&lt;/span&gt;() !=&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;&#39;&lt;/span&gt;) {&lt;/div&gt;&lt;div style=&quot;font-size: 14px;&quot;&gt;                        &lt;span style=&quot;color: #dcdcaa;&quot;&gt;$&lt;/span&gt;(&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;.progress&#39;&lt;/span&gt;).&lt;span style=&quot;color: #dcdcaa;&quot;&gt;removeClass&lt;/span&gt;(&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;d-none&#39;&lt;/span&gt;);&lt;/div&gt;&lt;div style=&quot;font-size: 14px;&quot;&gt;                        &lt;span style=&quot;color: #9cdcfe;&quot;&gt;console&lt;/span&gt;.&lt;span style=&quot;color: #dcdcaa;&quot;&gt;log&lt;/span&gt;(&lt;span style=&quot;color: #dcdcaa;&quot;&gt;$&lt;/span&gt;(&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;#file&#39;&lt;/span&gt;).&lt;span style=&quot;color: #dcdcaa;&quot;&gt;val&lt;/span&gt;());&lt;/div&gt;&lt;div style=&quot;font-size: 14px;&quot;&gt;                    }&lt;/div&gt;&lt;div style=&quot;font-size: 14px;&quot;&gt;                  &lt;span style=&quot;color: #c586c0;&quot;&gt;else&lt;/span&gt;{&lt;/div&gt;&lt;div style=&quot;font-size: 14px;&quot;&gt;                    &lt;span style=&quot;color: #9cdcfe;&quot;&gt;console&lt;/span&gt;.&lt;span style=&quot;color: #dcdcaa;&quot;&gt;log&lt;/span&gt;(&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;Choose File&#39;&lt;/span&gt;);&lt;/div&gt;&lt;div style=&quot;font-size: 14px;&quot;&gt;                  }&lt;/div&gt;&lt;div style=&quot;font-size: 14px;&quot;&gt;                }&lt;/div&gt;&lt;div style=&quot;font-size: 14px;&quot;&gt;            });&lt;/div&gt;&lt;div style=&quot;font-size: 14px;&quot;&gt;        });&lt;/div&gt;&lt;div style=&quot;font-size: 14px;&quot;&gt;    &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;script&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-size: 14px;&quot;&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;body&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;p&gt;&lt;span style=&quot;background-color: #1e1e1e; color: grey; font-family: &amp;quot;Droid Sans Mono&amp;quot;, &amp;quot;monospace&amp;quot;, monospace; font-size: 14px; white-space: pre;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;background-color: #1e1e1e; color: #569cd6; font-family: &amp;quot;Droid Sans Mono&amp;quot;, &amp;quot;monospace&amp;quot;, monospace; font-size: 14px; white-space: pre;&quot;&gt;html&lt;/span&gt;&lt;span style=&quot;background-color: #1e1e1e; color: grey; font-family: &amp;quot;Droid Sans Mono&amp;quot;, &amp;quot;monospace&amp;quot;, monospace; font-size: 14px; white-space: pre;&quot;&gt;&amp;gt;&lt;/span&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;b&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;5 view - editform.php&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;&lt;div style=&quot;background-color: #1e1e1e; color: #d4d4d4; font-family: &amp;quot;Droid Sans Mono&amp;quot;, &amp;quot;monospace&amp;quot;, monospace; font-size: 14px; line-height: 19px; white-space: pre;&quot;&gt;&lt;div&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;&amp;lt;?=&lt;/span&gt; &lt;span style=&quot;color: #569cd6;&quot;&gt;$this&lt;/span&gt;-&amp;gt;&lt;span style=&quot;color: #dcdcaa;&quot;&gt;include&lt;/span&gt;(&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;header&#39;&lt;/span&gt;)&lt;span style=&quot;color: #569cd6;&quot;&gt;?&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;!&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;DOCTYPE&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;html&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;html&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;lang&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;en&quot;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;head&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;    &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;meta&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;charset&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;UTF-8&quot;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;    &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;meta&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;http-equiv&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;X-UA-Compatible&quot;&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;content&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;IE=edge&quot;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;    &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;meta&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;name&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;viewport&quot;&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;content&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;width=device-width, initial-scale=1.0&quot;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;    &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;title&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;Document&lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;title&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;    &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;link&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;rel&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;stylesheet&quot;&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;href&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;https://cdn.jsdelivr.net/npm/bootstrap@4.0.0/dist/css/bootstrap.min.css&quot;&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;integrity&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm&quot;&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;crossorigin&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;anonymous&quot;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;    &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;script&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;src&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;https://ajax.googleapis.com/ajax/libs/jquery/3.6.4/jquery.min.js&quot;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;script&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;   &lt;span style=&quot;color: #6a9955;&quot;&gt;&amp;lt;!-- ajaxForm --&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;    &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;script&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;src&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;https://cdnjs.cloudflare.com/ajax/libs/jquery.form/4.3.0/jquery.form.min.js&quot;&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;integrity&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;sha384-qlmct0AOBiA2VPZkMY3+2WqkHtIQ9lSdAsAn5RUJD/3vA5MKDgSGcdmIv4ycVxyn&quot;&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;crossorigin&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;anonymous&quot;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;script&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #6a9955;&quot;&gt;&amp;lt;!-- End ajaxForm --&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;   &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;script&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;src&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;https://cdn.jsdelivr.net/npm/popper.js@1.12.9/dist/umd/popper.min.js&quot;&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;integrity&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;sha384-ApNbgh9B+Y1QKtv3Rn7W3mgPxhU9K/ScQsAP7hUibX39j7fakFPskvXusvfa0b4Q&quot;&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;crossorigin&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;anonymous&quot;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;script&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;    &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;script&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;src&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;https://cdn.jsdelivr.net/npm/bootstrap@4.0.0/dist/js/bootstrap.min.js&quot;&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;integrity&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;sha384-JZR6Spejh4U02d8jOt6vLEHfe/JQGiRRSQQxSfFWpi1MquVdAyjUar5+76PVCmYl&quot;&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;crossorigin&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;anonymous&quot;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;script&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;    &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;script&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;src&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;&amp;lt;?=&lt;/span&gt; &lt;span style=&quot;color: #dcdcaa;&quot;&gt;base_url&lt;/span&gt;(&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;assets/js/custom.js&#39;&lt;/span&gt;)&lt;span style=&quot;color: #569cd6;&quot;&gt;?&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;script&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;head&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;body&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;    &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;div&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;class&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;container mt-4&quot;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;    &lt;span style=&quot;color: #569cd6;&quot;&gt;&amp;lt;?php&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;$validation&lt;/span&gt; = \Config\&lt;span style=&quot;color: #4ec9b0;&quot;&gt;Services&lt;/span&gt;::&lt;span style=&quot;color: #dcdcaa;&quot;&gt;validation&lt;/span&gt;(); &lt;span style=&quot;color: #569cd6;&quot;&gt;?&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;    &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;div&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;class&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;col-lg-12&quot;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;            &lt;span style=&quot;color: #569cd6;&quot;&gt;&amp;lt;?php&lt;/span&gt; &lt;span style=&quot;color: #c586c0;&quot;&gt;if&lt;/span&gt; (&lt;span style=&quot;color: #dcdcaa;&quot;&gt;session&lt;/span&gt;()-&amp;gt;&lt;span style=&quot;color: #dcdcaa;&quot;&gt;getFlashdata&lt;/span&gt;(&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;added&#39;&lt;/span&gt;) !== &lt;span style=&quot;color: #569cd6;&quot;&gt;NULL&lt;/span&gt;) { &lt;span style=&quot;color: #569cd6;&quot;&gt;?&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;                &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;div&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;class&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;col-lg-12 alert alert-success alert-dismissible fade show text-center mb-3&quot;&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;role&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;alert&quot;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;                    &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;i&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;class&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;mdi mdi-check-all me-2&quot;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;i&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;                    &lt;span style=&quot;color: #569cd6;&quot;&gt;&amp;lt;?php&lt;/span&gt; &lt;span style=&quot;color: #dcdcaa;&quot;&gt;echo&lt;/span&gt; &lt;span style=&quot;color: #dcdcaa;&quot;&gt;session&lt;/span&gt;()-&amp;gt;&lt;span style=&quot;color: #dcdcaa;&quot;&gt;getFlashdata&lt;/span&gt;(&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;added&#39;&lt;/span&gt;); &lt;span style=&quot;color: #569cd6;&quot;&gt;?&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;                &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;div&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;            &lt;span style=&quot;color: #569cd6;&quot;&gt;&amp;lt;?php&lt;/span&gt; } &lt;span style=&quot;color: #569cd6;&quot;&gt;?&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;        &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;div&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;        &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;div&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;class&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;col-lg-12&quot;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;            &lt;span style=&quot;color: #569cd6;&quot;&gt;&amp;lt;?php&lt;/span&gt; &lt;span style=&quot;color: #c586c0;&quot;&gt;if&lt;/span&gt; (&lt;span style=&quot;color: #dcdcaa;&quot;&gt;session&lt;/span&gt;()-&amp;gt;&lt;span style=&quot;color: #dcdcaa;&quot;&gt;getFlashdata&lt;/span&gt;(&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;exist&#39;&lt;/span&gt;) !== &lt;span style=&quot;color: #569cd6;&quot;&gt;NULL&lt;/span&gt;) { &lt;span style=&quot;color: #569cd6;&quot;&gt;?&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;                &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;div&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;class&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;col-lg-12 alert alert-warning alert-dismissible fade show text-center mb-3&quot;&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;role&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;alert&quot;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;                    &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;i&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;class&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;mdi mdi-check-all me-2&quot;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;i&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;                    &lt;span style=&quot;color: #569cd6;&quot;&gt;&amp;lt;?php&lt;/span&gt; &lt;span style=&quot;color: #dcdcaa;&quot;&gt;echo&lt;/span&gt; &lt;span style=&quot;color: #dcdcaa;&quot;&gt;session&lt;/span&gt;()-&amp;gt;&lt;span style=&quot;color: #dcdcaa;&quot;&gt;getFlashdata&lt;/span&gt;(&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;exist&#39;&lt;/span&gt;); &lt;span style=&quot;color: #569cd6;&quot;&gt;?&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;                &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;div&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;            &lt;span style=&quot;color: #569cd6;&quot;&gt;&amp;lt;?php&lt;/span&gt; } &lt;span style=&quot;color: #569cd6;&quot;&gt;?&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;        &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;div&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;div&gt;        &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;div&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;class&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;row&quot;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;            &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;h2&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;class&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;text m-4 font-weight-bold&quot;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;Registration Form&lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;h2&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;            &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;div&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;class&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;mt-5 mb-2&quot;&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;style&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color: #ce9178;&quot;&gt;margin-left:530px&lt;/span&gt;&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;                &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;a&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;class&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;btn btn-primary&quot;&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;href&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;&amp;lt;?php&lt;/span&gt; &lt;span style=&quot;color: #dcdcaa;&quot;&gt;echo&lt;/span&gt; &lt;span style=&quot;color: #dcdcaa;&quot;&gt;base_url&lt;/span&gt;(&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;/&#39;&lt;/span&gt;)&lt;span style=&quot;color: #569cd6;&quot;&gt;?&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;Back&lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;a&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;            &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;div&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;        &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;div&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;    &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;form&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;action&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;&amp;lt;?php&lt;/span&gt; &lt;span style=&quot;color: #dcdcaa;&quot;&gt;echo&lt;/span&gt; &lt;span style=&quot;color: #dcdcaa;&quot;&gt;base_url&lt;/span&gt;(&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;/savedata&#39;&lt;/span&gt;)&lt;span style=&quot;color: #569cd6;&quot;&gt;?&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;&lt;/span&gt;  &lt;span style=&quot;color: #9cdcfe;&quot;&gt;method&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;post&quot;&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;enctype&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;multipart/form-data&quot;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;        &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;div&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;class&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;form-group&quot;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;            &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;label&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;for&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;name&quot;&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;class&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;col-sm-2 col-form-label&quot;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;name&lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;label&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;            &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;div&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;class&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;col-sm-10&quot;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;            &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;input&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;type&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;text&quot;&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;class&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;form-control&quot;&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;name&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;name&quot;&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;id&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;name&quot;&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;placeholder&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;name&quot;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;            &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;div&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;            &lt;span style=&quot;color: #569cd6;&quot;&gt;&amp;lt;?php&lt;/span&gt; &lt;span style=&quot;color: #c586c0;&quot;&gt;if&lt;/span&gt;(&lt;span style=&quot;color: #9cdcfe;&quot;&gt;$validation&lt;/span&gt;-&amp;gt;&lt;span style=&quot;color: #dcdcaa;&quot;&gt;getError&lt;/span&gt;(&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;name&#39;&lt;/span&gt;)) {&lt;span style=&quot;color: #569cd6;&quot;&gt;?&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;            &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;div&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;class&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;alert alert-danger mt-2 col-sm-10&#39;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;              &lt;span style=&quot;color: #569cd6;&quot;&gt;&amp;lt;?=&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;$error&lt;/span&gt; = &lt;span style=&quot;color: #9cdcfe;&quot;&gt;$validation&lt;/span&gt;-&amp;gt;&lt;span style=&quot;color: #dcdcaa;&quot;&gt;getError&lt;/span&gt;(&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;name&#39;&lt;/span&gt;); &lt;span style=&quot;color: #569cd6;&quot;&gt;?&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;            &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;div&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;        &lt;span style=&quot;color: #569cd6;&quot;&gt;&amp;lt;?php&lt;/span&gt; }&lt;span style=&quot;color: #569cd6;&quot;&gt;?&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;        &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;div&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;        &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;div&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;class&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;form-group &quot;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;            &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;label&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;for&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;email&quot;&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;class&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;col-sm-2 col-form-label&quot;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;Email&lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;label&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;            &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;div&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;class&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;col-sm-10&quot;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;            &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;input&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;type&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;text&quot;&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;class&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;form-control&quot;&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;name&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;email&quot;&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;id&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;email&quot;&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;placeholder&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;Email&quot;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;            &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;div&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;            &lt;span style=&quot;color: #569cd6;&quot;&gt;&amp;lt;?php&lt;/span&gt; &lt;span style=&quot;color: #c586c0;&quot;&gt;if&lt;/span&gt;(&lt;span style=&quot;color: #9cdcfe;&quot;&gt;$validation&lt;/span&gt;-&amp;gt;&lt;span style=&quot;color: #dcdcaa;&quot;&gt;getError&lt;/span&gt;(&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;email&#39;&lt;/span&gt;)){ &lt;span style=&quot;color: #569cd6;&quot;&gt;?&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;              &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;div&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;class&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;alert alert-danger mt-2 col-sm-10&quot;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;                &lt;span style=&quot;color: #569cd6;&quot;&gt;&amp;lt;?=&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;$validation&lt;/span&gt;-&amp;gt;&lt;span style=&quot;color: #dcdcaa;&quot;&gt;getError&lt;/span&gt;(&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;email&#39;&lt;/span&gt;)&lt;span style=&quot;color: #569cd6;&quot;&gt;?&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;              &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;div&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;            &lt;span style=&quot;color: #569cd6;&quot;&gt;&amp;lt;?php&lt;/span&gt; }&lt;span style=&quot;color: #569cd6;&quot;&gt;?&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;        &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;div&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;        &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;div&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;class&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;form-group&quot;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;            &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;label&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;for&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;Phone&quot;&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;class&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;col-sm-2 col-form-label&quot;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;Phone&lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;label&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;            &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;div&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;class&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;col-sm-10&quot;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;            &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;input&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;type&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;number&quot;&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;class&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;form-control&quot;&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;name&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;phone&quot;&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;id&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;phone&quot;&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;placeholder&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;Phone&quot;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;            &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;div&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;            &lt;span style=&quot;color: #569cd6;&quot;&gt;&amp;lt;?php&lt;/span&gt; &lt;span style=&quot;color: #c586c0;&quot;&gt;if&lt;/span&gt;(&lt;span style=&quot;color: #9cdcfe;&quot;&gt;$validation&lt;/span&gt;-&amp;gt;&lt;span style=&quot;color: #dcdcaa;&quot;&gt;getError&lt;/span&gt;(&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;phone&#39;&lt;/span&gt;)){&lt;span style=&quot;color: #569cd6;&quot;&gt;?&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;&amp;gt;&lt;/span&gt; &lt;/div&gt;&lt;div&gt;                &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;div&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;class&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;alert alert-danger mt-2 col-sm-10&quot;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;                     &lt;span style=&quot;color: #569cd6;&quot;&gt;&amp;lt;?=&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;$validation&lt;/span&gt;-&amp;gt;&lt;span style=&quot;color: #dcdcaa;&quot;&gt;getError&lt;/span&gt;(&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;phone&#39;&lt;/span&gt;)&lt;span style=&quot;color: #569cd6;&quot;&gt;?&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;                &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;div&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;            &lt;span style=&quot;color: #569cd6;&quot;&gt;&amp;lt;?php&lt;/span&gt; }&lt;span style=&quot;color: #569cd6;&quot;&gt;?&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;        &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;div&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;        &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;div&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;class&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;form-group &quot;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;            &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;label&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;for&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;password&quot;&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;class&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;col-sm-2 col-form-label&quot;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;password&lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;label&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;            &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;div&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;class&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;col-sm-10&quot;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;            &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;input&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;type&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;text&quot;&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;class&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;form-control&quot;&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;name&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;password&quot;&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;id&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;password&quot;&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;placeholder&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;Create password&quot;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;            &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;div&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;            &lt;span style=&quot;color: #569cd6;&quot;&gt;&amp;lt;?php&lt;/span&gt; &lt;span style=&quot;color: #c586c0;&quot;&gt;if&lt;/span&gt;(&lt;span style=&quot;color: #9cdcfe;&quot;&gt;$validation&lt;/span&gt;-&amp;gt;&lt;span style=&quot;color: #dcdcaa;&quot;&gt;getError&lt;/span&gt;(&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;password&#39;&lt;/span&gt;)){ &lt;span style=&quot;color: #569cd6;&quot;&gt;?&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;              &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;div&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;class&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;alert alert-danger mt-2 col-sm-10&quot;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;                &lt;span style=&quot;color: #569cd6;&quot;&gt;&amp;lt;?=&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;$validation&lt;/span&gt;-&amp;gt;&lt;span style=&quot;color: #dcdcaa;&quot;&gt;getError&lt;/span&gt;(&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;password&#39;&lt;/span&gt;)&lt;span style=&quot;color: #569cd6;&quot;&gt;?&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;              &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;div&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;            &lt;span style=&quot;color: #569cd6;&quot;&gt;&amp;lt;?php&lt;/span&gt; }&lt;span style=&quot;color: #569cd6;&quot;&gt;?&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;        &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;div&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;        &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;div&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;class&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;form-group&quot;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;            &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;label&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;for&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;Phone&quot;&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;class&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;col-sm-2 col-form-label&quot;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;Photo&lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;label&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;            &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;div&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;class&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;col-sm-10&quot;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;            &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;input&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;type&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;file&quot;&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;class&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;form-control&quot;&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;name&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;file&quot;&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;id&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;file&quot;&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;placeholder&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;File&quot;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;            &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;div&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;            &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;div&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;class&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;col-sm-10 m-2 progress d-none&quot;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;              &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;div&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;class&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;progress-bar bar progress-bar-striped progress-bar-animated&quot;&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;role&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;progressbar&quot;&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;aria-valuenow&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;75&quot;&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;aria-valuemin&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;0&quot;&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;aria-valuemax&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;100&quot;&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;style&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color: #ce9178;&quot;&gt;width: 75%&lt;/span&gt;&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;div&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;            &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;div&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;            &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;div&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;class&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;col-sm-10 m-2 alert alert-success d-none&quot;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;            &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;span&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;span&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;        &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;div&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;            &lt;span style=&quot;color: #569cd6;&quot;&gt;&amp;lt;?php&lt;/span&gt; &lt;span style=&quot;color: #c586c0;&quot;&gt;if&lt;/span&gt;(&lt;span style=&quot;color: #9cdcfe;&quot;&gt;$validation&lt;/span&gt;-&amp;gt;&lt;span style=&quot;color: #dcdcaa;&quot;&gt;getError&lt;/span&gt;(&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;phone&#39;&lt;/span&gt;)){&lt;span style=&quot;color: #569cd6;&quot;&gt;?&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;&amp;gt;&lt;/span&gt; &lt;/div&gt;&lt;div&gt;                &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;div&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;class&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;alert alert-danger mt-2 col-sm-10&quot;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;                     &lt;span style=&quot;color: #569cd6;&quot;&gt;&amp;lt;?=&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;$validation&lt;/span&gt;-&amp;gt;&lt;span style=&quot;color: #dcdcaa;&quot;&gt;getError&lt;/span&gt;(&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;file&#39;&lt;/span&gt;)&lt;span style=&quot;color: #569cd6;&quot;&gt;?&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;                &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;div&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;            &lt;span style=&quot;color: #569cd6;&quot;&gt;&amp;lt;?php&lt;/span&gt; }&lt;span style=&quot;color: #569cd6;&quot;&gt;?&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;        &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;div&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;        &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;div&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;class&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;form-group row&quot;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;            &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;div&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;class&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;col-sm-8 d-flex&quot;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;            &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;input&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;type&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;submit&quot;&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;class&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;btn btn-primary&quot;&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;id&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;submit&quot;&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;value&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;submit&quot;&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;placeholder&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;save&quot;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;            &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;div&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;        &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;div&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;    &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;form&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt; &lt;/div&gt;&lt;div&gt;    &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;div&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;    &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;script&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;        &lt;span style=&quot;color: #dcdcaa;&quot;&gt;$&lt;/span&gt;(&lt;span style=&quot;color: #9cdcfe;&quot;&gt;document&lt;/span&gt;).&lt;span style=&quot;color: #dcdcaa;&quot;&gt;ready&lt;/span&gt;(&lt;span style=&quot;color: #569cd6;&quot;&gt;function&lt;/span&gt;(){&lt;/div&gt;&lt;div&gt;            &lt;span style=&quot;color: #dcdcaa;&quot;&gt;$&lt;/span&gt;(&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;form&#39;&lt;/span&gt;).&lt;span style=&quot;color: #dcdcaa;&quot;&gt;ajaxForm&lt;/span&gt;({&lt;/div&gt;&lt;div&gt;                &lt;span style=&quot;color: #dcdcaa;&quot;&gt;beforeSend&lt;/span&gt;&lt;span style=&quot;color: #9cdcfe;&quot;&gt;:&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;function&lt;/span&gt;(){&lt;/div&gt;&lt;div&gt;                    &lt;span style=&quot;color: #c586c0;&quot;&gt;if&lt;/span&gt;(&lt;span style=&quot;color: #dcdcaa;&quot;&gt;$&lt;/span&gt;(&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;#file&#39;&lt;/span&gt;).&lt;span style=&quot;color: #dcdcaa;&quot;&gt;val&lt;/span&gt;() !=&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;&#39;&lt;/span&gt;) {&lt;/div&gt;&lt;div&gt;                    &lt;span style=&quot;color: #dcdcaa;&quot;&gt;$&lt;/span&gt;(&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;.progress&#39;&lt;/span&gt;).&lt;span style=&quot;color: #dcdcaa;&quot;&gt;removeClass&lt;/span&gt;(&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;d-none&#39;&lt;/span&gt;);&lt;/div&gt;&lt;div&gt;                    &lt;span style=&quot;color: #569cd6;&quot;&gt;var&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;percentVal&lt;/span&gt; = &lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;0%&quot;&lt;/span&gt;;&lt;/div&gt;&lt;div&gt;                    &lt;span style=&quot;color: #dcdcaa;&quot;&gt;$&lt;/span&gt;(&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;.bar&#39;&lt;/span&gt;).&lt;span style=&quot;color: #dcdcaa;&quot;&gt;css&lt;/span&gt;(&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;width&#39;&lt;/span&gt;,&lt;span style=&quot;color: #9cdcfe;&quot;&gt;percentVal&lt;/span&gt;);&lt;/div&gt;&lt;div&gt;                    }&lt;/div&gt;&lt;div&gt;                },&lt;/div&gt;&lt;div&gt;                &lt;span style=&quot;color: #dcdcaa;&quot;&gt;uploadProgress&lt;/span&gt;&lt;span style=&quot;color: #9cdcfe;&quot;&gt;:&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;function&lt;/span&gt;(&lt;span style=&quot;color: #9cdcfe;&quot;&gt;event&lt;/span&gt;,&lt;span style=&quot;color: #9cdcfe;&quot;&gt;position&lt;/span&gt;,&lt;span style=&quot;color: #9cdcfe;&quot;&gt;total&lt;/span&gt;,&lt;span style=&quot;color: #9cdcfe;&quot;&gt;percentagecomplete&lt;/span&gt;){&lt;/div&gt;&lt;div&gt;                    &lt;span style=&quot;color: #c586c0;&quot;&gt;if&lt;/span&gt;(&lt;span style=&quot;color: #dcdcaa;&quot;&gt;$&lt;/span&gt;(&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;#file&#39;&lt;/span&gt;).&lt;span style=&quot;color: #dcdcaa;&quot;&gt;val&lt;/span&gt;() !=&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;&#39;&lt;/span&gt;) {&lt;/div&gt;&lt;div&gt;                    &lt;span style=&quot;color: #569cd6;&quot;&gt;var&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;percentVal&lt;/span&gt; = &lt;span style=&quot;color: #9cdcfe;&quot;&gt;percentagecomplete&lt;/span&gt;+&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;%&quot;&lt;/span&gt;;&lt;/div&gt;&lt;div&gt;                    &lt;span style=&quot;color: #dcdcaa;&quot;&gt;$&lt;/span&gt;(&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;.bar&#39;&lt;/span&gt;).&lt;span style=&quot;color: #dcdcaa;&quot;&gt;css&lt;/span&gt;(&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;width&#39;&lt;/span&gt;,&lt;span style=&quot;color: #9cdcfe;&quot;&gt;percentVal&lt;/span&gt;);&lt;/div&gt;&lt;div&gt;                    }&lt;/div&gt;&lt;div&gt;                },&lt;/div&gt;&lt;div&gt;                &lt;span style=&quot;color: #dcdcaa;&quot;&gt;complete&lt;/span&gt;&lt;span style=&quot;color: #9cdcfe;&quot;&gt;:&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;function&lt;/span&gt;(){&lt;/div&gt;&lt;div&gt;                    &lt;span style=&quot;color: #c586c0;&quot;&gt;if&lt;/span&gt;(&lt;span style=&quot;color: #dcdcaa;&quot;&gt;$&lt;/span&gt;(&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;#file&#39;&lt;/span&gt;).&lt;span style=&quot;color: #dcdcaa;&quot;&gt;val&lt;/span&gt;() !=&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;&#39;&lt;/span&gt;) {&lt;/div&gt;&lt;div&gt;                        &lt;span style=&quot;color: #dcdcaa;&quot;&gt;$&lt;/span&gt;(&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;.progress&#39;&lt;/span&gt;).&lt;span style=&quot;color: #dcdcaa;&quot;&gt;removeClass&lt;/span&gt;(&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;d-none&#39;&lt;/span&gt;);&lt;/div&gt;&lt;div&gt;                        &lt;span style=&quot;color: #9cdcfe;&quot;&gt;console&lt;/span&gt;.&lt;span style=&quot;color: #dcdcaa;&quot;&gt;log&lt;/span&gt;(&lt;span style=&quot;color: #dcdcaa;&quot;&gt;$&lt;/span&gt;(&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;#file&#39;&lt;/span&gt;).&lt;span style=&quot;color: #dcdcaa;&quot;&gt;val&lt;/span&gt;());&lt;/div&gt;&lt;div&gt;                    }&lt;/div&gt;&lt;div&gt;                  &lt;span style=&quot;color: #c586c0;&quot;&gt;else&lt;/span&gt;{&lt;/div&gt;&lt;div&gt;                    &lt;span style=&quot;color: #9cdcfe;&quot;&gt;console&lt;/span&gt;.&lt;span style=&quot;color: #dcdcaa;&quot;&gt;log&lt;/span&gt;(&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;Choose File&#39;&lt;/span&gt;);&lt;/div&gt;&lt;div&gt;                  }&lt;/div&gt;&lt;div&gt;                }&lt;/div&gt;&lt;div&gt;            });&lt;/div&gt;&lt;div&gt;        });&lt;/div&gt;&lt;div&gt;    &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;script&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;body&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;html&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;p&gt;&lt;b&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;6 veiw read- welcome_message.php&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;&lt;div style=&quot;background-color: #1e1e1e; color: #d4d4d4; font-family: &amp;quot;Droid Sans Mono&amp;quot;, &amp;quot;monospace&amp;quot;, monospace; font-size: 14px; line-height: 19px; white-space: pre;&quot;&gt;&lt;div&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;&amp;lt;?=&lt;/span&gt; &lt;span style=&quot;color: #569cd6;&quot;&gt;$this&lt;/span&gt;-&amp;gt;&lt;span style=&quot;color: #dcdcaa;&quot;&gt;include&lt;/span&gt;(&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;header&#39;&lt;/span&gt;)&lt;span style=&quot;color: #569cd6;&quot;&gt;?&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;!&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;DOCTYPE&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;html&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;html&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;lang&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;en&quot;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;head&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;    &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;meta&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;charset&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;UTF-8&quot;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;    &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;meta&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;http-equiv&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;X-UA-Compatible&quot;&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;content&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;IE=edge&quot;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;    &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;meta&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;name&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;viewport&quot;&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;content&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;width=device-width, initial-scale=1.0&quot;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;    &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;title&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;Document&lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;title&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;    &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;link&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;rel&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;stylesheet&quot;&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;href&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;https://cdn.datatables.net/1.13.6/css/jquery.dataTables.css&quot;&lt;/span&gt; &lt;span style=&quot;color: grey;&quot;&gt;/&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;    &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;link&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;rel&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;stylesheet&quot;&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;href&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;https://cdn.jsdelivr.net/npm/bootstrap@4.0.0/dist/css/bootstrap.min.css&quot;&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;integrity&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm&quot;&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;crossorigin&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;anonymous&quot;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;    &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;script&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;src&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;https://code.jquery.com/jquery-3.2.1.slim.min.js&quot;&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;integrity&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;sha384-KJ3o2DKtIkvYIK3UENzmM7KCkRr/rE9/Qpg6aAZGJwFDMVNA/GpGFF93hXpG5KkN&quot;&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;crossorigin&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;anonymous&quot;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;script&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;    &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;script&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;src&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;https://cdn.jsdelivr.net/npm/popper.js@1.12.9/dist/umd/popper.min.js&quot;&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;integrity&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;sha384-ApNbgh9B+Y1QKtv3Rn7W3mgPxhU9K/ScQsAP7hUibX39j7fakFPskvXusvfa0b4Q&quot;&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;crossorigin&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;anonymous&quot;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;script&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;    &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;script&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;src&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;https://cdn.jsdelivr.net/npm/bootstrap@4.0.0/dist/js/bootstrap.min.js&quot;&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;integrity&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;sha384-JZR6Spejh4U02d8jOt6vLEHfe/JQGiRRSQQxSfFWpi1MquVdAyjUar5+76PVCmYl&quot;&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;crossorigin&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;anonymous&quot;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;script&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;  &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;style&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;    &lt;span style=&quot;color: #d7ba7d;&quot;&gt;a:hover&lt;/span&gt;{&lt;/div&gt;&lt;div&gt;            &lt;span style=&quot;color: #9cdcfe;&quot;&gt;text-decoration&lt;/span&gt;:&lt;span style=&quot;color: #ce9178;&quot;&gt;none&lt;/span&gt;;&lt;/div&gt;&lt;div&gt;          }&lt;/div&gt;&lt;div&gt;  &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;style&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;head&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;body&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;    &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;div&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;class&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;container mt-4&quot;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;       &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;div&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;class&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;row col-lg-12&quot;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;       &lt;span style=&quot;color: #569cd6;&quot;&gt;&amp;lt;?php&lt;/span&gt; &lt;span style=&quot;color: #c586c0;&quot;&gt;if&lt;/span&gt; (&lt;span style=&quot;color: #dcdcaa;&quot;&gt;session&lt;/span&gt;()-&amp;gt;&lt;span style=&quot;color: #dcdcaa;&quot;&gt;getFlashdata&lt;/span&gt;(&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;added&#39;&lt;/span&gt;) !== &lt;span style=&quot;color: #569cd6;&quot;&gt;NULL&lt;/span&gt;) { &lt;span style=&quot;color: #569cd6;&quot;&gt;?&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;                    &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;div&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;class&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;col-lg-12 alert alert-success alert-dismissible fade show text-center mb-3&quot;&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;role&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;alert&quot;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;                        &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;i&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;class&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;mdi mdi-check-all me-2&quot;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;i&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;                        &lt;span style=&quot;color: #569cd6;&quot;&gt;&amp;lt;?php&lt;/span&gt; &lt;span style=&quot;color: #dcdcaa;&quot;&gt;echo&lt;/span&gt; &lt;span style=&quot;color: #dcdcaa;&quot;&gt;session&lt;/span&gt;()-&amp;gt;&lt;span style=&quot;color: #dcdcaa;&quot;&gt;getFlashdata&lt;/span&gt;(&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;added&#39;&lt;/span&gt;); &lt;span style=&quot;color: #569cd6;&quot;&gt;?&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;                    &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;div&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;                &lt;span style=&quot;color: #569cd6;&quot;&gt;&amp;lt;?php&lt;/span&gt; } &lt;span style=&quot;color: #569cd6;&quot;&gt;?&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;              &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;br&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;/&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;              &lt;span style=&quot;color: #569cd6;&quot;&gt;&amp;lt;?php&lt;/span&gt; &lt;span style=&quot;color: #c586c0;&quot;&gt;if&lt;/span&gt; (&lt;span style=&quot;color: #dcdcaa;&quot;&gt;session&lt;/span&gt;()-&amp;gt;&lt;span style=&quot;color: #dcdcaa;&quot;&gt;getFlashdata&lt;/span&gt;(&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;deleted&#39;&lt;/span&gt;) !== &lt;span style=&quot;color: #569cd6;&quot;&gt;NULL&lt;/span&gt;) { &lt;span style=&quot;color: #569cd6;&quot;&gt;?&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;                    &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;div&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;class&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;col-lg-12 alert alert-danger alert-dismissible fade show text-center mb-3&quot;&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;role&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;alert&quot;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;                        &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;i&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;class&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;mdi mdi-check-all me-2&quot;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;i&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;                        &lt;span style=&quot;color: #569cd6;&quot;&gt;&amp;lt;?php&lt;/span&gt; &lt;span style=&quot;color: #dcdcaa;&quot;&gt;echo&lt;/span&gt; &lt;span style=&quot;color: #dcdcaa;&quot;&gt;session&lt;/span&gt;()-&amp;gt;&lt;span style=&quot;color: #dcdcaa;&quot;&gt;getFlashdata&lt;/span&gt;(&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;deleted&#39;&lt;/span&gt;); &lt;span style=&quot;color: #569cd6;&quot;&gt;?&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;                    &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;div&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;                &lt;span style=&quot;color: #569cd6;&quot;&gt;&amp;lt;?php&lt;/span&gt; } &lt;span style=&quot;color: #569cd6;&quot;&gt;?&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;              &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;br&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;/&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;       &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;div&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;        &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;div&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;class&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;form-group&quot;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;            &lt;/div&gt;&lt;div&gt;        &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;div&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;class&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;d-flex flex-row&quot;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;        &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;div&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;class&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;col-sm-4&quot;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;              &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;a&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;href&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;&amp;lt;?=&lt;/span&gt; &lt;span style=&quot;color: #dcdcaa;&quot;&gt;base_url&lt;/span&gt;(&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;form&#39;&lt;/span&gt;)&lt;span style=&quot;color: #569cd6;&quot;&gt;?&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;class&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;text btn btn-primary&quot;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;Form&lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;a&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;           &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;div&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;        &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;div&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;         &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;div&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;class&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;col-lg-12 mt-4&quot;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;            &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;table&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;id&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;myTable&quot;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;                &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;thead&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;                &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;tr&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;                    &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;th&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;S No&lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;th&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;                    &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;th&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;Name&lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;th&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;                    &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;th&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;Email&lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;th&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;                    &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;th&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;Phone&lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;th&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;                    &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;th&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;Photo&lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;th&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;                    &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;th&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;Action&lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;th&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;                &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;tr&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;                &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;thead&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;                &lt;span style=&quot;color: #569cd6;&quot;&gt;&amp;lt;?php&lt;/span&gt; &lt;/div&gt;&lt;div&gt;                 &lt;span style=&quot;color: #9cdcfe;&quot;&gt;$i&lt;/span&gt;=&lt;span style=&quot;color: #b5cea8;&quot;&gt;1&lt;/span&gt;;&lt;/div&gt;&lt;div&gt;                &lt;span style=&quot;color: #c586c0;&quot;&gt;foreach&lt;/span&gt;(&lt;span style=&quot;color: #9cdcfe;&quot;&gt;$records&lt;/span&gt; as &lt;span style=&quot;color: #9cdcfe;&quot;&gt;$each&lt;/span&gt;) {&lt;span style=&quot;color: #569cd6;&quot;&gt;?&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;                &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;tr&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;                    &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;td&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt; &lt;span style=&quot;color: #569cd6;&quot;&gt;&amp;lt;?=&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;$i&lt;/span&gt; &lt;span style=&quot;color: #569cd6;&quot;&gt;?&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;td&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;                    &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;td&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;&amp;lt;?=&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;$each&lt;/span&gt;[&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;name&#39;&lt;/span&gt;] &lt;span style=&quot;color: #569cd6;&quot;&gt;?&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;td&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt; &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;br&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;                    &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;td&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;&amp;lt;?=&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;$each&lt;/span&gt;[&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;email&#39;&lt;/span&gt;] &lt;span style=&quot;color: #569cd6;&quot;&gt;?&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;td&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt; &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;br&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;                    &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;td&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;&amp;lt;?=&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;$each&lt;/span&gt;[&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;mobile&#39;&lt;/span&gt;] &lt;span style=&quot;color: #569cd6;&quot;&gt;?&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;td&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt; &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;br&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;                    &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;td&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;img&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;src&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;&amp;lt;?=&lt;/span&gt; &lt;span style=&quot;color: #dcdcaa;&quot;&gt;base_url&lt;/span&gt;(&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;assets/uploads/&#39;&lt;/span&gt;.&lt;span style=&quot;color: #9cdcfe;&quot;&gt;$each&lt;/span&gt;[&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;img_name&#39;&lt;/span&gt;]) &lt;span style=&quot;color: #569cd6;&quot;&gt;?&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;alt&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;img&quot;&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;hieght&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;150&quot;&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;width&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;150&quot;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;td&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;br&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;                    &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;td&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;                        &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;div&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;class&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;row&quot;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;                        &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;div&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;                            &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;a&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;class&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;text-dark font-weight-bold m-4 px-4 py-3 bg-danger rounded&quot;&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;href&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;&amp;lt;?=&lt;/span&gt; &lt;span style=&quot;color: #dcdcaa;&quot;&gt;base_url&lt;/span&gt;(&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;edit/&#39;&lt;/span&gt;.&lt;span style=&quot;color: #9cdcfe;&quot;&gt;$each&lt;/span&gt;[&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;id&#39;&lt;/span&gt;])&lt;span style=&quot;color: #569cd6;&quot;&gt;?&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;Edit&lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;a&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;                        &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;div&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;                        &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;div&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;                            &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;a&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;class&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;text-dark font-weight-bold m-4 p-3 bg-warning rounded&quot;&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;href&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;&amp;lt;?=&lt;/span&gt; &lt;span style=&quot;color: #dcdcaa;&quot;&gt;base_url&lt;/span&gt;(&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;remove/&#39;&lt;/span&gt;.&lt;span style=&quot;color: #9cdcfe;&quot;&gt;$each&lt;/span&gt;[&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;id&#39;&lt;/span&gt;])&lt;span style=&quot;color: #569cd6;&quot;&gt;?&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;&lt;/span&gt; &lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;Delete&lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;a&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;                        &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;div&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;                        &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;div&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;                    &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;td&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;                    &lt;/div&gt;&lt;div&gt;                &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;tr&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;                &lt;span style=&quot;color: #569cd6;&quot;&gt;&amp;lt;?php&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;$i&lt;/span&gt;++; } &lt;span style=&quot;color: #569cd6;&quot;&gt;?&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;            &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;table&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;        &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;div&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;    &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;div&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;    &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;script&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;src&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;https://cdn.datatables.net/1.13.6/js/jquery.dataTables.js&quot;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;script&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;      &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;script&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;        &lt;span style=&quot;color: #dcdcaa;&quot;&gt;$&lt;/span&gt;(&lt;span style=&quot;color: #9cdcfe;&quot;&gt;document&lt;/span&gt;).&lt;span style=&quot;color: #dcdcaa;&quot;&gt;ready&lt;/span&gt;( &lt;span style=&quot;color: #569cd6;&quot;&gt;function&lt;/span&gt; () {&lt;/div&gt;&lt;div&gt;        &lt;span style=&quot;color: #dcdcaa;&quot;&gt;$&lt;/span&gt;(&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;#myTable&#39;&lt;/span&gt;).&lt;span style=&quot;color: #dcdcaa;&quot;&gt;DataTable&lt;/span&gt;();&lt;/div&gt;&lt;div&gt;        &lt;span style=&quot;color: #dcdcaa;&quot;&gt;$&lt;/span&gt;(&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;#myTable_filter&#39;&lt;/span&gt;).&lt;span style=&quot;color: #dcdcaa;&quot;&gt;addClass&lt;/span&gt;(&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;d-none&#39;&lt;/span&gt;);&lt;/div&gt;&lt;div&gt;        } );&lt;/div&gt;&lt;div&gt;      &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;script&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;body&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;html&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;&lt;/div&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='https://technicalstudyon.blogspot.com/feeds/2575506983716949212/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://technicalstudyon.blogspot.com/2023/09/user-registration-and-login-and-logout.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/1905934111533627271/posts/default/2575506983716949212'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/1905934111533627271/posts/default/2575506983716949212'/><link rel='alternate' type='text/html' href='https://technicalstudyon.blogspot.com/2023/09/user-registration-and-login-and-logout.html' title='User Registration  and Login and Logout CI4 '/><author><name>Technicalstudy</name><uri>http://www.blogger.com/profile/17694642546870276675</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiF8O7-4i8z2OICgggRXfsoVtVp6IjbJuCW4rC8XP9spIcqpl29IT_uAH4VY4zwcrl-DzFMtLe-rSpAp1y6OySmVdfL-ExzrxjgrPmV_sXDFJ2rvhw6scjoNo5og1b5x-u-AqsMZH15hGzU3BOkHGxGT0bQz6YKd_jvVbbxUh5wOMTBtp91fhEohNXLgZA/s72-w704-h355-c/Screenshot%20from%202023-09-17%2021-39-24.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1905934111533627271.post-249164507422663551</id><published>2023-09-17T11:25:00.009+05:30</published><updated>2025-01-03T01:11:43.614+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="Javascript &amp; jQuery"/><title type='text'></title><content type='html'>&lt;p&gt;&lt;b&gt;&amp;nbsp;===========================JAVASCRIPT=======================&lt;/b&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;INTRODUCTION :&lt;/b&gt;&lt;/p&gt;&lt;p&gt;JavaScript (js) is a light-weight object-oriented programming language which is used by several&lt;/p&gt;&lt;p&gt;websites for scripting the webpages. It is an interpreted, full-fledged programming language that&lt;/p&gt;&lt;p&gt;enables dynamic interactivity on websites when applied to an HTML document. It was introduced&lt;/p&gt;&lt;p&gt;in the year 1995 for adding programs to the webpages in the Netscape Navigator browser.&lt;/p&gt;&lt;p&gt;&lt;b&gt;1- What is JavaScript in explain?&lt;/b&gt;&lt;/p&gt;&lt;p&gt;What is JavaScript ? JavaScript is a dynamic computer programming language. It is lightweight and&lt;/p&gt;&lt;p&gt;most commonly used as a part of web pages, whose implementations allow client-side script to&lt;/p&gt;&lt;p&gt;interact with the user and make dynamic pages. It is an interpreted programming language with&lt;/p&gt;&lt;p&gt;object-oriented capabilities.&lt;/p&gt;&lt;p&gt;JavaScript is an asynchronous and concurrent programming language that offers a lot of flexibility.&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;div style=&quot;background-color: #1f1f1f; color: #cccccc; font-family: Consolas, &amp;quot;Courier New&amp;quot;, monospace; font-size: 14px; line-height: 19px; white-space: pre;&quot;&gt;&lt;div&gt;&lt;span style=&quot;color: #d4d4d4;&quot;&gt;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;color: #6a9955;&quot;&gt;// step 1: &quot;use strict&quot; : it used for some restriction to write relevant code &lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #6a9955;&quot;&gt;             without error;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #d4d4d4;&quot;&gt;&amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;use strict&quot;&lt;/span&gt;&lt;span style=&quot;color: #d4d4d4;&quot;&gt;; &lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;p&gt;&lt;b&gt;2- JAVASCRIPT STATEMENT :-&lt;/b&gt;&lt;/p&gt;&lt;p&gt;JavaScript statements are composed of:&lt;/p&gt;&lt;p&gt;Values, Operators, Expressions, Keywords, and Comments.&lt;/p&gt;&lt;p&gt;Example: document.getElementById(&quot;demo&quot;).innerHTML = &quot;Hello Dolly.&quot;;&lt;/p&gt;&lt;p&gt;&lt;b&gt;3- The JavaScript syntax defines two types of values:&lt;/b&gt;&lt;/p&gt;&lt;p&gt;Fixed values&lt;/p&gt;&lt;p&gt;Variable values&lt;/p&gt;&lt;p&gt;Fixed values are called Literals.&lt;/p&gt;&lt;p&gt;Variable values are called Variables.&lt;/p&gt;&lt;p&gt;Literals :&lt;/p&gt;&lt;p&gt;&lt;b&gt;3.1. &lt;/b&gt;Numbers are written with or without decimals:&lt;/p&gt;&lt;p&gt;Example- 10.50&lt;/p&gt;&lt;p&gt;1001&lt;/p&gt;&lt;p&gt;&lt;b&gt;3.2. &lt;/b&gt;Strings are text, written within double or single quotes:&lt;/p&gt;&lt;p&gt;Example- &quot;John Doe&quot;&lt;/p&gt;&lt;p&gt;&#39;John Doe&#39;&lt;/p&gt;&lt;p&gt;Variables :&lt;/p&gt;&lt;p&gt;Using var - We can redeclare and reassign.&lt;/p&gt;&lt;p&gt;var x= 30;&lt;/p&gt;&lt;p&gt;var x= 20;&lt;/p&gt;&lt;p&gt;Using let - We can not redeclare but reassign.&lt;/p&gt;&lt;p&gt;let x =30;&lt;/p&gt;&lt;p&gt;x=20;&lt;/p&gt;&lt;p&gt;Using const - We can not redeclare and reassign.&lt;/p&gt;&lt;p&gt;const = 30;&lt;/p&gt;&lt;p&gt;variables are used to store data values, it&#39;s case sensitive.&lt;/p&gt;&lt;p&gt;&lt;b&gt;A JavaScript variable declaration’s name must begin with:&lt;/b&gt;&lt;/p&gt;&lt;p&gt;A letter (A-Z or a-z)&lt;/p&gt;&lt;p&gt;A dollar sign ($)&lt;/p&gt;&lt;p&gt;Or an underscore (_)&lt;/p&gt;&lt;p&gt;Historically, programmers have used different ways of joining multiple words into one variable name:&lt;/p&gt;&lt;p&gt;&lt;b&gt;Hyphens:&lt;/b&gt;&lt;/p&gt;&lt;p&gt;first-name, last-name, master-card, inter-city.&lt;/p&gt;&lt;p&gt;Note:-Hyphens are not allowed in JavaScript. They are reserved for subtractions.&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;Underscore:&lt;/b&gt;&lt;/p&gt;&lt;p&gt;first_name, last_name, master_card, inter_city.&lt;/p&gt;&lt;p&gt;Upper Camel Case (Pascal Case):&lt;/p&gt;&lt;p&gt;FirstName, LastName, MasterCard, InterCity.&lt;/p&gt;&lt;p&gt;&lt;b&gt;Lower Camel Case:&lt;/b&gt;&lt;/p&gt;&lt;p&gt;JavaScript programmers tend to use camel case that starts with a lowercase letter:&lt;/p&gt;&lt;p&gt;firstName, lastName, masterCard, interCity.&lt;/p&gt;&lt;p&gt;&lt;b&gt;4-Comment :&lt;/b&gt;&lt;/p&gt;&lt;p&gt;Conment is not executable statement in programming language there are&lt;/p&gt;&lt;p&gt;two type of programming language.&lt;/p&gt;&lt;p&gt;&lt;b&gt;4.1 &lt;/b&gt;- Single line comment start with // -&lt;/p&gt;&lt;p&gt;// Not Excecutable statment&lt;/p&gt;&lt;p&gt;&lt;b&gt;4.2 –&lt;/b&gt; Multiple line comment start with /* code... */-&lt;/p&gt;&lt;p&gt;/* Not Excecutable statment*/&lt;/p&gt;&lt;p&gt;&lt;b&gt;5 – What is Tokens : &lt;/b&gt;Smallest unit/ Element of program call token.&lt;/p&gt;&lt;p&gt;Like : c = a + b;&lt;/p&gt;&lt;p&gt;There are a,=,a, +,b is smallest element of program.&lt;/p&gt;&lt;p&gt;&lt;b&gt;5.1 &lt;/b&gt;– Constant : Constants are those who value never can be changes.&lt;/p&gt;&lt;p&gt;&lt;b&gt;5.2 &lt;/b&gt;– Keyword : Keyword are those word which meaning already defined in compilers. Is is also called&lt;/p&gt;&lt;p&gt;RESERVE WORD.&lt;/p&gt;&lt;p&gt;Like : strings, numbers, booleans, undefined, and null.&lt;/p&gt;&lt;p&gt;&lt;b&gt;5.3 &lt;/b&gt;– Identifier : It will identify variable, datatype, class,interface,function.&lt;/p&gt;&lt;p&gt;Like : let a; var c = a-b, const a1;&lt;/p&gt;&lt;p&gt;&lt;b&gt;5.4 – Datatype :&lt;/b&gt; Datatype are those which is define storage for memory allocation.&lt;/p&gt;&lt;p&gt;&lt;b&gt;JavaScript has 8 Datatypes&lt;/b&gt;&lt;/p&gt;&lt;p&gt;1. String&lt;/p&gt;&lt;p&gt;2. Number&lt;/p&gt;&lt;p&gt;3. Bigint&lt;/p&gt;&lt;p&gt;4. Boolean&lt;/p&gt;&lt;p&gt;5. Undefined&lt;/p&gt;&lt;p&gt;6. Null&lt;/p&gt;&lt;p&gt;7. Symbol&lt;/p&gt;&lt;p&gt;8. Object&lt;/p&gt;&lt;p&gt;The Object Datatype&lt;/p&gt;&lt;p&gt;The object data type can contain:&lt;/p&gt;&lt;p&gt;1. An object&lt;/p&gt;&lt;p&gt;2. An array&lt;/p&gt;&lt;p&gt;3. A date&lt;/p&gt;&lt;p&gt;5.5 – Operators : Operator are those which is perform the operation between operant.&lt;/p&gt;&lt;p&gt;Like: The Addition Operator + adds numbers:&lt;/p&gt;&lt;p&gt;The Assignment Operator = assigns a value to a variable.&lt;/p&gt;&lt;p&gt;Let X =6&lt;/p&gt;&lt;p&gt;Let Y =4&lt;/p&gt;&lt;p&gt;X +Y= Z&lt;/p&gt;&lt;p&gt;The Assignment Operator (=) assigns a value to a variable:&lt;/p&gt;&lt;p&gt;Let Z = 10;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;Types of JavaScript Operators&lt;/b&gt;&lt;/p&gt;&lt;p&gt;Arithmetic Operators :&lt;/p&gt;&lt;p&gt;Example :&lt;/p&gt;&lt;p&gt;let a = 3;&lt;/p&gt;&lt;p&gt;let x = (100 + 50) * a;&lt;/p&gt;&lt;p&gt;Assignment Operators :&lt;/p&gt;&lt;p&gt;The Addition Assignment Operator (+=) adds a value to a variable.&lt;/p&gt;&lt;p&gt;Example&lt;/p&gt;&lt;p&gt;x= 10;&lt;/p&gt;&lt;p&gt;x += 5;&lt;/p&gt;&lt;p&gt;Comparison Operators :&lt;/p&gt;&lt;p&gt;&lt;b&gt;Example :&lt;/b&gt;&lt;/p&gt;&lt;p&gt;let a1 =11;&lt;/p&gt;&lt;p&gt;let b2 =14;&lt;/p&gt;&lt;p&gt;let result = a&amp;lt; b;&lt;/p&gt;&lt;p&gt;String Operators :&lt;/p&gt;&lt;p&gt;Example:&lt;/p&gt;&lt;p&gt;let text1 = &quot;A&quot;;&lt;/p&gt;&lt;p&gt;let text2 = &quot;B&quot;;&lt;/p&gt;&lt;p&gt;let result = text1 &amp;lt; text2;&lt;/p&gt;&lt;p&gt;The + can also be used to add (concatenate) strings:&lt;/p&gt;&lt;p&gt;let text1 = &quot;John&quot;;&lt;/p&gt;&lt;p&gt;let text2 = &quot;Doe&quot;;&lt;/p&gt;&lt;p&gt;let text3 = text1 + &quot; &quot; + text2;&lt;/p&gt;&lt;p&gt;Logical Operators :&lt;/p&gt;&lt;p&gt;A typical arithmetic operation operates on two numbers.there are +,-,*,/,%,increments,decrements;&lt;/p&gt;&lt;p&gt;The two numbers can be literals:&lt;/p&gt;&lt;p&gt;let x = 100 + 50;&lt;/p&gt;&lt;p&gt;Incrementing&lt;/p&gt;&lt;p&gt;The increment operator (++) increments numbers. &amp;amp; The Decrement operator (--) increments numbers&lt;/p&gt;&lt;p&gt;let x = 5;&lt;/p&gt;&lt;p&gt;x++; , x--;&lt;/p&gt;&lt;p&gt;let z = x;&lt;/p&gt;&lt;p&gt;Bitwise Operators :&lt;/p&gt;&lt;p&gt;Ternary Operators :&lt;/p&gt;&lt;p&gt;Like : a&amp;gt;b ? True : False&lt;/p&gt;&lt;p&gt;&lt;b&gt;6- Conditional Statements :&lt;/b&gt;&lt;/p&gt;&lt;p&gt;Very often when you write code, you want to perform different actions for different decisions.&lt;/p&gt;&lt;p&gt;You can use conditional statements in your code to do this.&lt;/p&gt;&lt;p&gt;In JavaScript we have the following conditional statements:&lt;/p&gt;&lt;p&gt;Use if to specify a block of code to be executed, if a specified condition is true&lt;/p&gt;&lt;p&gt;Use else to specify a block of code to be executed, if the same condition is false&lt;/p&gt;&lt;p&gt;Use else if to specify a new condition to test, if the first condition is false&lt;/p&gt;&lt;p&gt;Use switch to specify many alternative blocks of code to be executed&lt;/p&gt;&lt;p&gt;&lt;b&gt;6.1&lt;/b&gt;- if (condition) {&lt;/p&gt;&lt;p&gt;// block of code to be executed if the condition is true&lt;/p&gt;&lt;p&gt;}&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;6.2-&lt;/b&gt; if (condition) {&lt;/p&gt;&lt;p&gt;// block of code to be executed if the condition is true&lt;/p&gt;&lt;p&gt;} else {&lt;/p&gt;&lt;p&gt;// block of code to be executed if the condition is false&lt;/p&gt;&lt;p&gt;}&lt;/p&gt;&lt;p&gt;&lt;b&gt;6.3- &lt;/b&gt;if (condition1) {&lt;/p&gt;&lt;p&gt;// block of code to be executed if condition1 is true&lt;/p&gt;&lt;p&gt;} else if (condition2) {&lt;/p&gt;&lt;p&gt;// block of code to be executed if the condition1 is false and condition2 is true&lt;/p&gt;&lt;p&gt;} else {&lt;/p&gt;&lt;p&gt;// block of code to be executed if the condition1 is false and condition2 is false&lt;/p&gt;&lt;p&gt;}&lt;/p&gt;&lt;p&gt;&lt;b&gt;6.4&lt;/b&gt;-switch(expression) {&lt;/p&gt;&lt;p&gt;case x:&lt;/p&gt;&lt;p&gt;// code block&lt;/p&gt;&lt;p&gt;break;&lt;/p&gt;&lt;p&gt;case y:&lt;/p&gt;&lt;p&gt;// code block&lt;/p&gt;&lt;p&gt;break;&lt;/p&gt;&lt;p&gt;default:&lt;/p&gt;&lt;p&gt;// code block&lt;/p&gt;&lt;p&gt;}&lt;/p&gt;&lt;p&gt;&lt;b&gt;7- Loop statements :&lt;/b&gt; loop statements are specify the range of program.&lt;/p&gt;&lt;p&gt;JavaScript supports different kinds of loops:&lt;/p&gt;&lt;p&gt;for - loops through a block of code a number of times&lt;/p&gt;&lt;p&gt;foreach -&lt;/p&gt;&lt;p&gt;while - loops through a block of code while a specified condition is true&lt;/p&gt;&lt;p&gt;do/while - also loops through a block of code while a specified condition is true&lt;/p&gt;&lt;p&gt;The for statement creates a loop with 3 optional expressions:&lt;/p&gt;&lt;p&gt;for (initialization 1; condition 2 ; increment/decrement 4) {&lt;/p&gt;&lt;p&gt;// 3 Execute block of code&lt;/p&gt;&lt;p&gt;}&lt;/p&gt;&lt;p&gt;for (let i =0; i &amp;lt;5; i++) {&lt;/p&gt;&lt;p&gt;text += &quot;The number is &quot; + i +&quot;&amp;lt;br&amp;gt;&quot;;&lt;/p&gt;&lt;p&gt;}&lt;/p&gt;&lt;p&gt;The while loop is use to controll loop. This statement firstly check the condition given with while(). If&lt;/p&gt;&lt;p&gt;condition is true will execute block of code.&lt;/p&gt;&lt;p&gt;while (i &amp;lt; 10) {&lt;/p&gt;&lt;p&gt;text += &quot;The number is &quot; + i;&lt;/p&gt;&lt;p&gt;i++;&lt;/p&gt;&lt;p&gt;}&lt;/p&gt;&lt;p&gt;The Do while loop is also use to controll loop. This statement will be execute unconditionaly once and then&lt;/p&gt;&lt;p&gt;codition will check.&lt;/p&gt;&lt;p&gt;let i = 0;&lt;/p&gt;&lt;p&gt;do {&lt;/p&gt;&lt;p&gt;text += &quot;The number is &quot; + i;&lt;/p&gt;&lt;p&gt;i++;&lt;/p&gt;&lt;p&gt;}&lt;/p&gt;&lt;p&gt;while (i &amp;lt; 10);&lt;/p&gt;&lt;p&gt;The forEach method calls a function for each element in an array.&lt;/p&gt;&lt;p&gt;The forEach() method is not executed for empty elements.&lt;/p&gt;&lt;p&gt;&amp;lt;script&amp;gt;&lt;/p&gt;&lt;p&gt;let text = &quot;&quot;;&lt;/p&gt;&lt;p&gt;const fruits = [&quot;apple&quot;, &quot;orange&quot;, &quot;cherry&quot;];&lt;/p&gt;&lt;p&gt;fruits.forEach(myFunction);&lt;/p&gt;&lt;p&gt;function myFunction(item, index) {&lt;/p&gt;&lt;p&gt;text += index + &quot;: &quot; + item + &quot;&amp;lt;br&amp;gt;&quot;;&lt;/p&gt;&lt;p&gt;}&lt;/p&gt;&lt;p&gt;&amp;lt;/script&amp;gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;7.1- What is Object Declaration and Definition:&lt;/b&gt;&lt;/p&gt;&lt;div style=&quot;background-color: #1f1f1f; color: #cccccc; font-family: Consolas, &amp;quot;Courier New&amp;quot;, monospace; font-size: 14px; line-height: 19px; white-space: pre;&quot;&gt;&lt;div&gt;&lt;span style=&quot;color: #d4d4d4;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;let&lt;/span&gt;&lt;span style=&quot;color: #d4d4d4;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #9cdcfe;&quot;&gt;obj&lt;/span&gt;&lt;span style=&quot;color: #d4d4d4;&quot;&gt; = {&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #d4d4d4;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #9cdcfe;&quot;&gt;b&lt;/span&gt;&lt;span style=&quot;color: #9cdcfe;&quot;&gt;:&lt;/span&gt;&lt;span style=&quot;color: #b5cea8;&quot;&gt;9&lt;/span&gt;&lt;span style=&quot;color: #d4d4d4;&quot;&gt;,&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #d4d4d4;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #9cdcfe;&quot;&gt;c&lt;/span&gt;&lt;span style=&quot;color: #9cdcfe;&quot;&gt;:&lt;/span&gt;&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;shubh&quot;&lt;/span&gt;&lt;span style=&quot;color: #d4d4d4;&quot;&gt;,&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #d4d4d4;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #dcdcaa;&quot;&gt;func&lt;/span&gt;&lt;span style=&quot;color: #9cdcfe;&quot;&gt; :&lt;/span&gt;&lt;span style=&quot;color: #d4d4d4;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;function&lt;/span&gt;&lt;span style=&quot;color: #d4d4d4;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #dcdcaa;&quot;&gt;hello&lt;/span&gt;&lt;span style=&quot;color: #d4d4d4;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #9cdcfe;&quot;&gt;number&lt;/span&gt;&lt;span style=&quot;color: #d4d4d4;&quot;&gt;){&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #d4d4d4;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span style=&quot;color: #9cdcfe;&quot;&gt;console&lt;/span&gt;&lt;span style=&quot;color: #d4d4d4;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: #dcdcaa;&quot;&gt;log&lt;/span&gt;&lt;span style=&quot;color: #d4d4d4;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;THis is Object&#39;s function assigned calling +&quot;&lt;/span&gt;&lt;span style=&quot;color: #d4d4d4;&quot;&gt;+ &lt;/span&gt;&lt;span style=&quot;color: #9cdcfe;&quot;&gt;number&lt;/span&gt;&lt;span style=&quot;color: #d4d4d4;&quot;&gt;);&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #d4d4d4;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;}&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #d4d4d4;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;}&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;p&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;7.2- Array print with For loop and ForEach loop:&lt;/b&gt;&lt;/p&gt;&lt;div style=&quot;background-color: #1f1f1f; color: #cccccc; font-family: Consolas, &amp;quot;Courier New&amp;quot;, monospace; font-size: 14px; line-height: 19px; white-space: pre;&quot;&gt;&lt;div&gt;&lt;div&gt;&lt;span style=&quot;color: #d4d4d4;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #9cdcfe;&quot;&gt;console&lt;/span&gt;&lt;span style=&quot;color: #d4d4d4;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: #dcdcaa;&quot;&gt;log&lt;/span&gt;&lt;span style=&quot;color: #d4d4d4;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;Using For loop&quot;&lt;/span&gt;&lt;span style=&quot;color: #d4d4d4;&quot;&gt;);&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #d4d4d4;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;let&lt;/span&gt;&lt;span style=&quot;color: #d4d4d4;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #9cdcfe;&quot;&gt;array&lt;/span&gt;&lt;span style=&quot;color: #d4d4d4;&quot;&gt; = [&lt;/span&gt;&lt;span style=&quot;color: #b5cea8;&quot;&gt;2&lt;/span&gt;&lt;span style=&quot;color: #d4d4d4;&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;color: #b5cea8;&quot;&gt;41&lt;/span&gt;&lt;span style=&quot;color: #d4d4d4;&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;color: #b5cea8;&quot;&gt;10&lt;/span&gt;&lt;span style=&quot;color: #d4d4d4;&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;shubham&quot;&lt;/span&gt;&lt;span style=&quot;color: #d4d4d4;&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;char&#39;&lt;/span&gt;&lt;span style=&quot;color: #d4d4d4;&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;color: #b5cea8;&quot;&gt;12.01&lt;/span&gt;&lt;span style=&quot;color: #d4d4d4;&quot;&gt;];&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #d4d4d4;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #c586c0;&quot;&gt;for&lt;/span&gt;&lt;span style=&quot;color: #d4d4d4;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;let&lt;/span&gt;&lt;span style=&quot;color: #d4d4d4;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #9cdcfe;&quot;&gt;i&lt;/span&gt;&lt;span style=&quot;color: #d4d4d4;&quot;&gt; =&lt;/span&gt;&lt;span style=&quot;color: #b5cea8;&quot;&gt;0&lt;/span&gt;&lt;span style=&quot;color: #d4d4d4;&quot;&gt;; &lt;/span&gt;&lt;span style=&quot;color: #9cdcfe;&quot;&gt;i&lt;/span&gt;&lt;span style=&quot;color: #d4d4d4;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #9cdcfe;&quot;&gt;array&lt;/span&gt;&lt;span style=&quot;color: #d4d4d4;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: #9cdcfe;&quot;&gt;length&lt;/span&gt;&lt;span style=&quot;color: #d4d4d4;&quot;&gt;; &lt;/span&gt;&lt;span style=&quot;color: #9cdcfe;&quot;&gt;i&lt;/span&gt;&lt;span style=&quot;color: #d4d4d4;&quot;&gt;++){&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #d4d4d4;&quot;&gt;&amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #9cdcfe;&quot;&gt;console&lt;/span&gt;&lt;span style=&quot;color: #d4d4d4;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: #dcdcaa;&quot;&gt;log&lt;/span&gt;&lt;span style=&quot;color: #d4d4d4;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #9cdcfe;&quot;&gt;array&lt;/span&gt;&lt;span style=&quot;color: #d4d4d4;&quot;&gt;[&lt;/span&gt;&lt;span style=&quot;color: #9cdcfe;&quot;&gt;i&lt;/span&gt;&lt;span style=&quot;color: #d4d4d4;&quot;&gt;]);&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #d4d4d4;&quot;&gt;&amp;nbsp;} &lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;p&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;7.3- Array print with ForEach loop:&lt;/b&gt;&lt;/p&gt;&lt;div style=&quot;background-color: #1f1f1f; color: #cccccc; font-family: Consolas, &amp;quot;Courier New&amp;quot;, monospace; font-size: 14px; line-height: 19px; white-space: pre;&quot;&gt;&lt;div&gt;&lt;span style=&quot;color: #d4d4d4;&quot;&gt;&amp;nbsp;  &lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #9cdcfe;&quot;&gt;  console&lt;/span&gt;&lt;span style=&quot;color: #d4d4d4;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: #dcdcaa;&quot;&gt;log&lt;/span&gt;&lt;span style=&quot;color: #d4d4d4;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;Using ForEach loop&quot;&lt;/span&gt;&lt;span style=&quot;color: #d4d4d4;&quot;&gt;);&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #d4d4d4;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #d4d4d4;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;let&lt;/span&gt;&lt;span style=&quot;color: #d4d4d4;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #9cdcfe;&quot;&gt;array&lt;/span&gt;&lt;span style=&quot;color: #d4d4d4;&quot;&gt; = [&lt;/span&gt;&lt;span style=&quot;color: #b5cea8;&quot;&gt;2&lt;/span&gt;&lt;span style=&quot;color: #d4d4d4;&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;color: #b5cea8;&quot;&gt;41&lt;/span&gt;&lt;span style=&quot;color: #d4d4d4;&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;color: #b5cea8;&quot;&gt;10&lt;/span&gt;&lt;span style=&quot;color: #d4d4d4;&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;shubham&quot;&lt;/span&gt;&lt;span style=&quot;color: #d4d4d4;&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;char&#39;&lt;/span&gt;&lt;span style=&quot;color: #d4d4d4;&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;color: #b5cea8;&quot;&gt;12.01&lt;/span&gt;&lt;span style=&quot;color: #d4d4d4;&quot;&gt;];&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #d4d4d4;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #d4d4d4;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #9cdcfe;&quot;&gt;array&lt;/span&gt;&lt;span style=&quot;color: #d4d4d4;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: #dcdcaa;&quot;&gt;forEach&lt;/span&gt;&lt;span style=&quot;color: #d4d4d4;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #9cdcfe;&quot;&gt;element&lt;/span&gt;&lt;span style=&quot;color: #d4d4d4;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;=&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: #d4d4d4;&quot;&gt;{&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #d4d4d4;&quot;&gt;&amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span style=&quot;color: #9cdcfe;&quot;&gt;console&lt;/span&gt;&lt;span style=&quot;color: #d4d4d4;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: #dcdcaa;&quot;&gt;log&lt;/span&gt;&lt;span style=&quot;color: #d4d4d4;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #9cdcfe;&quot;&gt;element&lt;/span&gt;&lt;span style=&quot;color: #d4d4d4;&quot;&gt;)&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #d4d4d4;&quot;&gt;&amp;nbsp;});&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;&lt;/div&gt;&lt;p&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;8- What is Arrow Function:&lt;/b&gt;&lt;/p&gt;&lt;p&gt;Arrow functions are us to write shorter function syntax:&lt;/p&gt;&lt;p&gt;&lt;b&gt;Before Arrow:&lt;/b&gt;&lt;/p&gt;&lt;p&gt;hello = function() {&lt;/p&gt;&lt;p&gt;return &quot;Hello World!&quot;;&lt;/p&gt;&lt;p&gt;}&lt;/p&gt;&lt;div style=&quot;background-color: #1f1f1f; color: #cccccc; font-family: Consolas, &amp;quot;Courier New&amp;quot;, monospace; font-size: 14px; line-height: 19px; white-space: pre;&quot;&gt;&lt;div&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;let&lt;/span&gt;&lt;span style=&quot;color: #d4d4d4;&quot;&gt; normal&lt;/span&gt;&lt;span style=&quot;color: #dcdcaa;&quot;&gt;funct&lt;/span&gt;&lt;span style=&quot;color: #d4d4d4;&quot;&gt; = function(&lt;/span&gt;&lt;span style=&quot;color: #d4d4d4;&quot;&gt;) &lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;=&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: #d4d4d4;&quot;&gt;{&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #d4d4d4;&quot;&gt;&amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span style=&quot;color: #9cdcfe;&quot;&gt;console&lt;/span&gt;&lt;span style=&quot;color: #d4d4d4;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: #dcdcaa;&quot;&gt;log&lt;/span&gt;&lt;span style=&quot;color: #d4d4d4;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;The number is normal function.&quot;&lt;/span&gt;&lt;span style=&quot;color: #d4d4d4;&quot;&gt;);&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #d4d4d4;&quot;&gt;&amp;nbsp; }&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #d4d4d4;&quot;&gt;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;color: #d4d4d4;&quot;&gt;normal&lt;/span&gt;&lt;span style=&quot;color: #dcdcaa;&quot;&gt;funct&lt;/span&gt;&lt;span style=&quot;color: #d4d4d4;&quot;&gt;();&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;p&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;With Arrow Function:&lt;/b&gt;&lt;/p&gt;&lt;p&gt;hello = () =&amp;gt; {&lt;/p&gt;&lt;p&gt;return &quot;Hello World!&quot;;&lt;/p&gt;&lt;p&gt;}&lt;/p&gt;&lt;div style=&quot;background-color: #1f1f1f; color: #cccccc; font-family: Consolas, &amp;quot;Courier New&amp;quot;, monospace; font-size: 14px; line-height: 19px; white-space: pre;&quot;&gt;&lt;div&gt;&lt;span style=&quot;color: #6a9955;&quot;&gt;// arrow function using &lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #d4d4d4;&quot;&gt;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;let&lt;/span&gt;&lt;span style=&quot;color: #d4d4d4;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #dcdcaa;&quot;&gt;hello&lt;/span&gt;&lt;span style=&quot;color: #d4d4d4;&quot;&gt; = (&lt;/span&gt;&lt;span style=&quot;color: #9cdcfe;&quot;&gt;num&lt;/span&gt;&lt;span style=&quot;color: #d4d4d4;&quot;&gt;) &lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;=&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: #d4d4d4;&quot;&gt;{&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #d4d4d4;&quot;&gt;&amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span style=&quot;color: #9cdcfe;&quot;&gt;console&lt;/span&gt;&lt;span style=&quot;color: #d4d4d4;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: #dcdcaa;&quot;&gt;log&lt;/span&gt;&lt;span style=&quot;color: #d4d4d4;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;The number is &quot;&lt;/span&gt;&lt;span style=&quot;color: #d4d4d4;&quot;&gt;+&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;this&lt;/span&gt;&lt;span style=&quot;color: #d4d4d4;&quot;&gt;);&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #d4d4d4;&quot;&gt;&amp;nbsp; }&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #d4d4d4;&quot;&gt;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;color: #dcdcaa;&quot;&gt;hello&lt;/span&gt;&lt;span style=&quot;color: #d4d4d4;&quot;&gt;();&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;JavaScript Asynchronous&lt;/p&gt;&lt;p&gt;&lt;b&gt;9- What is Callback Function:&lt;/b&gt;&lt;/p&gt;&lt;p&gt;A Callback function is function that is passed an argument to another function.&lt;/p&gt;&lt;p&gt;// function&lt;/p&gt;&lt;p&gt;function greet(name, callback) {&lt;/p&gt;&lt;p&gt;console.log(&#39;Hi&#39; + &#39; &#39; + name);&lt;/p&gt;&lt;p&gt;callback();&lt;/p&gt;&lt;p&gt;}&lt;/p&gt;&lt;p&gt;// callback function&lt;/p&gt;&lt;p&gt;function callMe() {&lt;/p&gt;&lt;p&gt;console.log(&#39;I am callback function&#39;);&lt;/p&gt;&lt;p&gt;}&lt;/p&gt;&lt;p&gt;// passing function as an argument&lt;/p&gt;&lt;p&gt;greet(&#39;Peter&#39;, callMe);&lt;/p&gt;&lt;p&gt;&lt;b&gt;Note :&lt;/b&gt; callMe function belong to key callback parameter.&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;10- JavaScript Promise and Promise Chaining:&lt;/b&gt;&lt;/p&gt;&lt;p&gt;In JavaScript, a promise is a good way to handle asynchronous operations. It is used to find out if the&lt;/p&gt;&lt;p&gt;asynchronous operation is successfully completed or not.&lt;/p&gt;&lt;p&gt;A promise may have one of three states.&lt;/p&gt;&lt;p&gt;i- Pending&lt;/p&gt;&lt;p&gt;ii- Fulfilled&lt;/p&gt;&lt;p&gt;iii- Rejected&lt;/p&gt;&lt;p&gt;A promise starts in a pending state. That means the process is not complete. If the operation is successful, the&lt;/p&gt;&lt;p&gt;process ends in a fulfilled state. And, if an error occurs, the process ends in a rejected state.&lt;/p&gt;&lt;p&gt;For example, when you request data from the server by using a promise, it will be in a pending state. When&lt;/p&gt;&lt;p&gt;the data arrives successfully, it will be in a fulfilled state. If an error occurs, then it will be in a rejected state.&lt;/p&gt;&lt;p&gt;&lt;b&gt;Create a Promise&lt;/b&gt;&lt;/p&gt;&lt;p&gt;To create a promise object, we use the Promise() constructor.&lt;/p&gt;&lt;p&gt;let promise = new Promise(function(resolve, reject){&lt;/p&gt;&lt;p&gt;//do something&lt;/p&gt;&lt;p&gt;});&lt;/p&gt;&lt;p&gt;The Promise() constructor takes a function as an argument. The function also accepts two functions resolve()&lt;/p&gt;&lt;p&gt;and reject().&lt;/p&gt;&lt;p&gt;If the promise returns successfully, the resolve() function is called. And, if an error occurs, the reject()&lt;/p&gt;&lt;p&gt;function is called.&lt;/p&gt;&lt;p&gt;&lt;b&gt;Example 1: Program with a Promise&lt;/b&gt;&lt;/p&gt;&lt;p&gt;const count = true;&lt;/p&gt;&lt;p&gt;let countValue = new Promise(function (resolve, reject) {&lt;/p&gt;&lt;p&gt;if (count) {&lt;/p&gt;&lt;p&gt;resolve(&quot;There is a count value.&quot;);&lt;/p&gt;&lt;p&gt;} else {&lt;/p&gt;&lt;p&gt;reject(&quot;There is no count value&quot;);&lt;/p&gt;&lt;p&gt;}&lt;/p&gt;&lt;p&gt;});&lt;/p&gt;&lt;p&gt;console.log(countValue);&lt;/p&gt;&lt;p&gt;&lt;b&gt;11- Javscript async/await :&lt;/b&gt;&lt;/p&gt;&lt;p&gt;In this tutorial, you will learn about JavaScript async/await keywords with the help of examples.&lt;/p&gt;&lt;p&gt;We use the async keyword with a function to represent that the function is an asynchronous function. The&lt;/p&gt;&lt;p&gt;async function returns a promise.&lt;/p&gt;&lt;p&gt;&lt;b&gt;The syntax of async function is:&lt;/b&gt;&lt;/p&gt;&lt;p&gt;async function name(parameter1, parameter2, ...paramaterN) {&lt;/p&gt;&lt;p&gt;// statements&lt;/p&gt;&lt;p&gt;}&lt;/p&gt;&lt;p&gt;Here,&lt;/p&gt;&lt;p&gt;name - name of the function&lt;/p&gt;&lt;p&gt;parameters - parameters that are passed to the function&lt;/p&gt;&lt;p&gt;JavaScript await Keyword -&lt;/p&gt;&lt;p&gt;The await keyword is used inside the async function to wait for the asynchronous operation.&lt;/p&gt;&lt;p&gt;let result = await promise;&lt;/p&gt;&lt;p&gt;The use of await pauses the async function until the promise returns a result (resolve or reject) value. For&lt;/p&gt;&lt;p&gt;example,&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;=============&lt;b&gt;Quick Revise Practise Code :&lt;/b&gt;===========&lt;/p&gt;&lt;div style=&quot;background-color: #1f1f1f; color: #cccccc; font-family: Consolas, &amp;quot;Courier New&amp;quot;, monospace; font-size: 14px; line-height: 19px; white-space: pre;&quot;&gt;&lt;div&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;script&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;span style=&quot;color: #d4d4d4;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span style=&quot;color: #6a9955;&quot;&gt;// stp 1: &quot;use strict&quot; : it used for some restriction to write relevent code without error;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #d4d4d4;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;use strict&quot;&lt;/span&gt;&lt;span style=&quot;color: #d4d4d4;&quot;&gt;; &lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #d4d4d4;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;let&lt;/span&gt;&lt;span style=&quot;color: #d4d4d4;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #9cdcfe;&quot;&gt;a&lt;/span&gt;&lt;span style=&quot;color: #d4d4d4;&quot;&gt; = &lt;/span&gt;&lt;span style=&quot;color: #b5cea8;&quot;&gt;44&lt;/span&gt;&lt;span style=&quot;color: #d4d4d4;&quot;&gt;;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #d4d4d4;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span style=&quot;color: #9cdcfe;&quot;&gt;console&lt;/span&gt;&lt;span style=&quot;color: #d4d4d4;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: #dcdcaa;&quot;&gt;log&lt;/span&gt;&lt;span style=&quot;color: #d4d4d4;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #9cdcfe;&quot;&gt;a&lt;/span&gt;&lt;span style=&quot;color: #d4d4d4;&quot;&gt;);&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #d4d4d4;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #d4d4d4;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span style=&quot;color: #6a9955;&quot;&gt;/* DataType is following :*/&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #d4d4d4;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span style=&quot;color: #6a9955;&quot;&gt;// &amp;nbsp;numbers&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #d4d4d4;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span style=&quot;color: #6a9955;&quot;&gt;// &amp;nbsp;String&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #d4d4d4;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span style=&quot;color: #6a9955;&quot;&gt;// &amp;nbsp;Boolean&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #d4d4d4;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span style=&quot;color: #6a9955;&quot;&gt;// &amp;nbsp;undefined&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #d4d4d4;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span style=&quot;color: #6a9955;&quot;&gt;// &amp;nbsp;null &lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #d4d4d4;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #d4d4d4;&quot;&gt;&amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span style=&quot;color: #6a9955;&quot;&gt;// step 2: &amp;nbsp;object declaration &amp;nbsp;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #d4d4d4;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;let&lt;/span&gt;&lt;span style=&quot;color: #d4d4d4;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #9cdcfe;&quot;&gt;obj&lt;/span&gt;&lt;span style=&quot;color: #d4d4d4;&quot;&gt; = {&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #d4d4d4;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #9cdcfe;&quot;&gt;b&lt;/span&gt;&lt;span style=&quot;color: #9cdcfe;&quot;&gt;:&lt;/span&gt;&lt;span style=&quot;color: #b5cea8;&quot;&gt;9&lt;/span&gt;&lt;span style=&quot;color: #d4d4d4;&quot;&gt;,&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #d4d4d4;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #9cdcfe;&quot;&gt;c&lt;/span&gt;&lt;span style=&quot;color: #9cdcfe;&quot;&gt;:&lt;/span&gt;&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;shubh&quot;&lt;/span&gt;&lt;span style=&quot;color: #d4d4d4;&quot;&gt;,&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #d4d4d4;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #dcdcaa;&quot;&gt;func&lt;/span&gt;&lt;span style=&quot;color: #9cdcfe;&quot;&gt; :&lt;/span&gt;&lt;span style=&quot;color: #d4d4d4;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;function&lt;/span&gt;&lt;span style=&quot;color: #d4d4d4;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #dcdcaa;&quot;&gt;hello&lt;/span&gt;&lt;span style=&quot;color: #d4d4d4;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #9cdcfe;&quot;&gt;number&lt;/span&gt;&lt;span style=&quot;color: #d4d4d4;&quot;&gt;){&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #d4d4d4;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span style=&quot;color: #9cdcfe;&quot;&gt;console&lt;/span&gt;&lt;span style=&quot;color: #d4d4d4;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: #dcdcaa;&quot;&gt;log&lt;/span&gt;&lt;span style=&quot;color: #d4d4d4;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;THis is Object&#39;s function assigned calling +&quot;&lt;/span&gt;&lt;span style=&quot;color: #d4d4d4;&quot;&gt;+ &lt;/span&gt;&lt;span style=&quot;color: #9cdcfe;&quot;&gt;number&lt;/span&gt;&lt;span style=&quot;color: #d4d4d4;&quot;&gt;);&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #d4d4d4;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;}&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #d4d4d4;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;}&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;span style=&quot;color: #6a9955;&quot;&gt;// step 3: &amp;nbsp;event in js &lt;/span&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;span style=&quot;color: #9cdcfe;&quot;&gt;document&lt;/span&gt;&lt;span style=&quot;color: #d4d4d4;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: #dcdcaa;&quot;&gt;addEventListener&lt;/span&gt;&lt;span style=&quot;color: #d4d4d4;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;click&quot;&lt;/span&gt;&lt;span style=&quot;color: #d4d4d4;&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;function&lt;/span&gt;&lt;span style=&quot;color: #d4d4d4;&quot;&gt;(){&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #d4d4d4;&quot;&gt;&amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span style=&quot;color: #dcdcaa;&quot;&gt;alert&lt;/span&gt;&lt;span style=&quot;color: #d4d4d4;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;Hello shubham&quot;&lt;/span&gt;&lt;span style=&quot;color: #d4d4d4;&quot;&gt;);&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #d4d4d4;&quot;&gt;&amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;let&lt;/span&gt;&lt;span style=&quot;color: #d4d4d4;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #9cdcfe;&quot;&gt;conf&lt;/span&gt;&lt;span style=&quot;color: #d4d4d4;&quot;&gt; = &lt;/span&gt;&lt;span style=&quot;color: #dcdcaa;&quot;&gt;confirm&lt;/span&gt;&lt;span style=&quot;color: #d4d4d4;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;are ok with it ?&quot;&lt;/span&gt;&lt;span style=&quot;color: #d4d4d4;&quot;&gt;);&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #d4d4d4;&quot;&gt;&amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span style=&quot;color: #9cdcfe;&quot;&gt;console&lt;/span&gt;&lt;span style=&quot;color: #d4d4d4;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: #dcdcaa;&quot;&gt;log&lt;/span&gt;&lt;span style=&quot;color: #d4d4d4;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #9cdcfe;&quot;&gt;conf&lt;/span&gt;&lt;span style=&quot;color: #d4d4d4;&quot;&gt;);&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #d4d4d4;&quot;&gt;});&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;span style=&quot;color: #6a9955;&quot;&gt;// step 4 : Array in js&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #d4d4d4;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;let&lt;/span&gt;&lt;span style=&quot;color: #d4d4d4;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #9cdcfe;&quot;&gt;array&lt;/span&gt;&lt;span style=&quot;color: #d4d4d4;&quot;&gt; = [&lt;/span&gt;&lt;span style=&quot;color: #b5cea8;&quot;&gt;2&lt;/span&gt;&lt;span style=&quot;color: #d4d4d4;&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;color: #b5cea8;&quot;&gt;41&lt;/span&gt;&lt;span style=&quot;color: #d4d4d4;&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;color: #b5cea8;&quot;&gt;10&lt;/span&gt;&lt;span style=&quot;color: #d4d4d4;&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;shubham&quot;&lt;/span&gt;&lt;span style=&quot;color: #d4d4d4;&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;char&#39;&lt;/span&gt;&lt;span style=&quot;color: #d4d4d4;&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;color: #b5cea8;&quot;&gt;12.01&lt;/span&gt;&lt;span style=&quot;color: #d4d4d4;&quot;&gt;];&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #d4d4d4;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #9cdcfe;&quot;&gt;console&lt;/span&gt;&lt;span style=&quot;color: #d4d4d4;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: #dcdcaa;&quot;&gt;log&lt;/span&gt;&lt;span style=&quot;color: #d4d4d4;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;Using For loop&quot;&lt;/span&gt;&lt;span style=&quot;color: #d4d4d4;&quot;&gt;);&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #d4d4d4;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #c586c0;&quot;&gt;for&lt;/span&gt;&lt;span style=&quot;color: #d4d4d4;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;let&lt;/span&gt;&lt;span style=&quot;color: #d4d4d4;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #9cdcfe;&quot;&gt;i&lt;/span&gt;&lt;span style=&quot;color: #d4d4d4;&quot;&gt; =&lt;/span&gt;&lt;span style=&quot;color: #b5cea8;&quot;&gt;0&lt;/span&gt;&lt;span style=&quot;color: #d4d4d4;&quot;&gt;; &lt;/span&gt;&lt;span style=&quot;color: #9cdcfe;&quot;&gt;i&lt;/span&gt;&lt;span style=&quot;color: #d4d4d4;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #9cdcfe;&quot;&gt;array&lt;/span&gt;&lt;span style=&quot;color: #d4d4d4;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: #9cdcfe;&quot;&gt;length&lt;/span&gt;&lt;span style=&quot;color: #d4d4d4;&quot;&gt;; &lt;/span&gt;&lt;span style=&quot;color: #9cdcfe;&quot;&gt;i&lt;/span&gt;&lt;span style=&quot;color: #d4d4d4;&quot;&gt;++){&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #d4d4d4;&quot;&gt;&amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #9cdcfe;&quot;&gt;console&lt;/span&gt;&lt;span style=&quot;color: #d4d4d4;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: #dcdcaa;&quot;&gt;log&lt;/span&gt;&lt;span style=&quot;color: #d4d4d4;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #9cdcfe;&quot;&gt;array&lt;/span&gt;&lt;span style=&quot;color: #d4d4d4;&quot;&gt;[&lt;/span&gt;&lt;span style=&quot;color: #9cdcfe;&quot;&gt;i&lt;/span&gt;&lt;span style=&quot;color: #d4d4d4;&quot;&gt;]);&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #d4d4d4;&quot;&gt;&amp;nbsp;} &lt;/span&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;span style=&quot;color: #d4d4d4;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #9cdcfe;&quot;&gt;console&lt;/span&gt;&lt;span style=&quot;color: #d4d4d4;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: #dcdcaa;&quot;&gt;log&lt;/span&gt;&lt;span style=&quot;color: #d4d4d4;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;Using ForEach loop&quot;&lt;/span&gt;&lt;span style=&quot;color: #d4d4d4;&quot;&gt;);&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #d4d4d4;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #9cdcfe;&quot;&gt;array&lt;/span&gt;&lt;span style=&quot;color: #d4d4d4;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: #dcdcaa;&quot;&gt;forEach&lt;/span&gt;&lt;span style=&quot;color: #d4d4d4;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #9cdcfe;&quot;&gt;element&lt;/span&gt;&lt;span style=&quot;color: #d4d4d4;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;=&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: #d4d4d4;&quot;&gt;{&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #d4d4d4;&quot;&gt;&amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span style=&quot;color: #9cdcfe;&quot;&gt;console&lt;/span&gt;&lt;span style=&quot;color: #d4d4d4;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: #dcdcaa;&quot;&gt;log&lt;/span&gt;&lt;span style=&quot;color: #d4d4d4;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #9cdcfe;&quot;&gt;element&lt;/span&gt;&lt;span style=&quot;color: #d4d4d4;&quot;&gt;)&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #d4d4d4;&quot;&gt;&amp;nbsp;});&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;div&gt;&lt;span style=&quot;color: #6a9955;&quot;&gt;// step 5 : arrow function using use restric keyword&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #d4d4d4;&quot;&gt;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;let&lt;/span&gt;&lt;span style=&quot;color: #d4d4d4;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #dcdcaa;&quot;&gt;arrowfunct&lt;/span&gt;&lt;span style=&quot;color: #d4d4d4;&quot;&gt; = (&lt;/span&gt;&lt;span style=&quot;color: #9cdcfe;&quot;&gt;num&lt;/span&gt;&lt;span style=&quot;color: #d4d4d4;&quot;&gt;) &lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;=&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: #d4d4d4;&quot;&gt;{&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #d4d4d4;&quot;&gt;&amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span style=&quot;color: #9cdcfe;&quot;&gt;console&lt;/span&gt;&lt;span style=&quot;color: #d4d4d4;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: #dcdcaa;&quot;&gt;log&lt;/span&gt;&lt;span style=&quot;color: #d4d4d4;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;The number is &quot;&lt;/span&gt;&lt;span style=&quot;color: #d4d4d4;&quot;&gt;+&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;this&lt;/span&gt;&lt;span style=&quot;color: #d4d4d4;&quot;&gt;);&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #d4d4d4;&quot;&gt;&amp;nbsp; }&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #d4d4d4;&quot;&gt;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;color: #dcdcaa;&quot;&gt;arrowfunct&lt;/span&gt;&lt;span style=&quot;color: #d4d4d4;&quot;&gt;();&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: #1f1f1f; color: #cccccc; font-family: Consolas, &amp;quot;Courier New&amp;quot;, monospace; font-size: 14px; line-height: 19px; white-space: pre;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;span style=&quot;color: #6a9955;&quot;&gt;// step 5 : asynchronous operations&lt;/span&gt;&lt;br /&gt;&lt;div&gt;&lt;span style=&quot;color: #d4d4d4;&quot;&gt;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;color: #dcdcaa;&quot;&gt;setTimeout&lt;/span&gt;&lt;span style=&quot;color: #d4d4d4;&quot;&gt;(() &lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;=&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: #d4d4d4;&quot;&gt; {&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #d4d4d4;&quot;&gt;&amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span style=&quot;color: #9cdcfe;&quot;&gt;console&lt;/span&gt;&lt;span style=&quot;color: #d4d4d4;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: #dcdcaa;&quot;&gt;log&lt;/span&gt;&lt;span style=&quot;color: #d4d4d4;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;hello setTimeout: perform asynchronize operation callback &lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #ce9178;&quot;&gt;              function call after few second.&quot;&lt;/span&gt;&lt;span style=&quot;color: #d4d4d4;&quot;&gt;);&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #d4d4d4;&quot;&gt;&amp;nbsp; }, &lt;/span&gt;&lt;span style=&quot;color: #b5cea8;&quot;&gt;3000&lt;/span&gt;&lt;span style=&quot;color: #d4d4d4;&quot;&gt;);&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #9cdcfe;&quot;&gt;console&lt;/span&gt;&lt;span style=&quot;color: #d4d4d4;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: #dcdcaa;&quot;&gt;log&lt;/span&gt;&lt;span style=&quot;color: #d4d4d4;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;just about to below content.&quot;&lt;/span&gt;&lt;span style=&quot;color: #d4d4d4;&quot;&gt;);&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;script&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;p&gt;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='https://technicalstudyon.blogspot.com/feeds/249164507422663551/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://technicalstudyon.blogspot.com/2023/09/introduction-javascript-js-is-light.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/1905934111533627271/posts/default/249164507422663551'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/1905934111533627271/posts/default/249164507422663551'/><link rel='alternate' type='text/html' href='https://technicalstudyon.blogspot.com/2023/09/introduction-javascript-js-is-light.html' title=''/><author><name>Technicalstudy</name><uri>http://www.blogger.com/profile/17694642546870276675</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1905934111533627271.post-2768824430293191589</id><published>2023-09-17T11:13:00.007+05:30</published><updated>2023-09-19T21:09:51.080+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="Commands"/><title type='text'>PHP VERSION CHANGE , MYSQL and Zip COMMANDS NOTES </title><content type='html'>&lt;p&gt;&amp;nbsp;1) - apachectl -V&lt;/p&gt;&lt;p&gt;2)- sudo systemctl start mysql.service&lt;/p&gt;&lt;p&gt;3)- sudo service mysql status&lt;/p&gt;&lt;p&gt;4) - mysql -u root -p&amp;nbsp; : neet to Enter password of mysql Credential. bydefault you should try root &amp;amp; root as password.&lt;/p&gt;&lt;p&gt;5)-&amp;nbsp; CREATE USER &#39;username&#39;@&#39;localhost&#39; IDENTIFIED BY &#39;password&#39;;&lt;/p&gt;&lt;p&gt;6)- GRANT ALL PRIVILEGES ON database.* TO &#39;username&#39;@&#39;localhost&#39; IDENTIFIED BY &#39;password&#39;;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; (Provide to permission for particular database).&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;7) sudo chmod -R 777 directoriesname/&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;8)- mysql -u shubh -p -e &quot;show databases;&quot;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;9)- change php version:&lt;/b&gt;&lt;/p&gt;&lt;p&gt;sudo update-alternatives --config php&lt;/p&gt;&lt;p&gt;sudo a2dismod php7.4&lt;/p&gt;&lt;p&gt;sudo a2enmod php7.3&lt;/p&gt;&lt;p&gt;systemctl restart apache2&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;10)-Make Zip file -&amp;nbsp;&lt;/b&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;sudo zip -r keepfilename.zip foldername/&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='https://technicalstudyon.blogspot.com/feeds/2768824430293191589/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://technicalstudyon.blogspot.com/2023/09/php-version-change-mysql-and-zip.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/1905934111533627271/posts/default/2768824430293191589'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/1905934111533627271/posts/default/2768824430293191589'/><link rel='alternate' type='text/html' href='https://technicalstudyon.blogspot.com/2023/09/php-version-change-mysql-and-zip.html' title='PHP VERSION CHANGE , MYSQL and Zip COMMANDS NOTES '/><author><name>Technicalstudy</name><uri>http://www.blogger.com/profile/17694642546870276675</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1905934111533627271.post-241784827381184914</id><published>2023-09-17T11:10:00.006+05:30</published><updated>2023-11-29T13:36:06.090+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="Commands"/><category scheme="http://www.blogger.com/atom/ns#" term="MERN"/><title type='text'>MERN BASIC CONCEPT And COMMAND NOTES</title><content type='html'>&lt;p&gt;&lt;b&gt;MERN NOTES FOR UBUNTU Operating System from Starting :&lt;/b&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;&amp;nbsp;Refference ubuntu Software&lt;/b&gt; : https://phoenixnap.com/kb/install-vscode-ubuntu&lt;/p&gt;&lt;p&gt;&amp;nbsp; Documentation: Please remove to N1,Nn..., and R1,Rn... for react and nodejs and com-dashboard and Run project one by one.&lt;/p&gt;&lt;p&gt;&amp;nbsp; &lt;b&gt;System Requirement&lt;/b&gt; : 1- install npm packages, node install packages, install mongodb for database.&lt;/p&gt;&lt;p&gt;&lt;b&gt;&amp;nbsp; Refference Resources:&amp;nbsp;&lt;/b&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;1 - https://www.youtube.com/watch?v=zaLfOjNEOaQ&amp;amp;list=PL8p2I9GklV456iofeMKReMTvWLr7Ki9At&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;2 - https://www.youtube.com/watch?v=EAkLuk-4KuI&amp;amp;list=PL8p2I9GklV456iofeMKReMTvWLr7Ki9At&amp;amp;index=55 (project developed this refference)&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;2 - https://www.youtube.com/watch?v=PkoV-nUYhM4&amp;amp;list=PL8p2I9GklV456iofeMKReMTvWLr7Ki9At&amp;amp;index=40 (CRUD with Mongoose)&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;b&gt;======================MERN PROJECT 29Jan2023=========================&amp;nbsp;&lt;/b&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;1- Create Project :&lt;/p&gt;&lt;p&gt;&amp;nbsp;2- npm init&lt;/p&gt;&lt;p&gt;&amp;nbsp;3- npm i express&lt;/p&gt;&lt;p&gt;&amp;nbsp;4- npm i nodemon&lt;/p&gt;&lt;p&gt;&amp;nbsp;5- &lt;b&gt;create reactApp inside Folder&lt;/b&gt;: npx create-react-app xyzApp&lt;/p&gt;&lt;p&gt;&amp;nbsp;6-&lt;b&gt; Routing in reactJs&lt;/b&gt; : npm i react-router-dom&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;-Route depend on just above package. check version.&lt;/p&gt;&lt;p&gt;&lt;b&gt;&amp;nbsp;7- Fixed CORS issue in Node&lt;/b&gt;: It must be resolve with backend using (npm install cors).&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;8- What is private Component and how to create in React ?&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;b&gt;&amp;nbsp;9- Local storage :&lt;/b&gt; To keep data on browser after refresh react js page.&lt;/p&gt;&lt;p&gt;=============== Study Technology Planning ==================&lt;/p&gt;&lt;p&gt;1) React Js&amp;nbsp; - First Complete Hooks Concepts&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;2)&amp;nbsp; Node Js&amp;nbsp; Language - Complete Basic To A CRUD level.&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;3) How to remove extention of file.html in node.&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;4)- What is template Engine /ejs engine?&lt;/p&gt;&lt;p&gt;5)- This is npm package for make dynamic page.&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;========== Mongodb BD ============&lt;/p&gt;&lt;p&gt;Definations : Documents.&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;Commands :&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;0 - ...../$&lt;/b&gt;: mongo&amp;nbsp;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;b&gt;1- Show&lt;/b&gt; :&amp;nbsp; show dbs&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;2- To create db&lt;/b&gt; : use databaseName&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;3- Create collection &lt;/b&gt;: db.createCollection(&#39;tblename&#39;)&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;4- show table &lt;/b&gt;: show collections.&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;5- delete collection &lt;/b&gt;: db.collectionName.drop();&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;5- delete current database&lt;/b&gt; : db.dropDatabase();&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;7- show collection structure &lt;/b&gt;: db.collectionName.find().pretty()&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;8- How to add one more field :&lt;/b&gt; db.students.update({name:},{$set:{&quot;emp_id&quot;:&quot;KR0047&quot;}})&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;=======================================&lt;/p&gt;&lt;p&gt;&lt;b&gt;1- How to start :&amp;nbsp;&lt;/b&gt;&lt;/p&gt;&lt;p&gt;sudo systemctl start mongod&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;2- How check status :&lt;/b&gt;&lt;/p&gt;&lt;p&gt;sudo systemctl status mongod&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;3- How to enable status :&amp;nbsp;&lt;/b&gt;&lt;/p&gt;&lt;p&gt;sudo systemctl enable mongod&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;4- How to stop mongodb :&lt;/b&gt;&lt;/p&gt;&lt;p&gt;sudo systemctl stop mongod&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;5- How to restart mongodb :&lt;/b&gt;&lt;/p&gt;&lt;p&gt;sudo systemctl restart mongod&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;============= CRUD Function =========&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;Create Operation :&lt;/b&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;db.collectionName.insertOne()&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;db.collectionName.insertMany()&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;b&gt;Exam :&lt;/b&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;db.collectionName.insertOne({&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; name: &quot;Marsh&quot;,&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; age: &quot;6 years&quot;,&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; species: &quot;Dog&quot;,&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; ownerAddress: &quot;380 W. Fir Ave&quot;,&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; chipped: true&lt;/p&gt;&lt;p&gt;})&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;Read Opteration :&lt;/b&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;db.collectionName.find()&lt;/p&gt;&lt;p&gt;&lt;b&gt;Exam:&amp;nbsp;&lt;/b&gt;&lt;/p&gt;&lt;p&gt;db.RecordsDB.find()&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;b&gt;Update Operation :&amp;nbsp;&lt;/b&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;db.collectionName.updateOne()&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;db.collectionName.updateMany()&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;db.collectionName.replaceOne()&lt;/p&gt;&lt;p&gt;&lt;b&gt;&amp;nbsp;Exam :&lt;/b&gt; db.collectionName.updateOne(&lt;/p&gt;&lt;p&gt;{name: &quot;Marsh&quot;},&amp;nbsp;&lt;/p&gt;&lt;p&gt;{$set:{ownerAddress: &quot;451 W. Coffee St. A204&quot;}})&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Delete Operation :&lt;/p&gt;&lt;p&gt;db.collectionName.deleteOne()&amp;nbsp;&lt;/p&gt;&lt;p&gt;db.collectionName.deleteMany()&amp;nbsp; &amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;b&gt;Exam :&lt;/b&gt;&lt;/p&gt;&lt;p&gt;db.collectionName.deleteOne({name:&quot;Maki&quot;})&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;1 - composer.json - Install to dependencies&amp;nbsp;&lt;/p&gt;&lt;p&gt;2 - composer.lock -&amp;nbsp; The composer. lock file prevents you from automatically getting the latest versions of your dependencies. (Range Defines)&lt;/p&gt;&lt;p&gt;3 - vender why not push&amp;nbsp; - Take More Time to Push time due to large file&lt;/p&gt;&lt;p&gt;4 - which file move on gitlab -&amp;nbsp;&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='https://technicalstudyon.blogspot.com/feeds/241784827381184914/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://technicalstudyon.blogspot.com/2023/09/mern-basic-concept-and-command-notes.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/1905934111533627271/posts/default/241784827381184914'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/1905934111533627271/posts/default/241784827381184914'/><link rel='alternate' type='text/html' href='https://technicalstudyon.blogspot.com/2023/09/mern-basic-concept-and-command-notes.html' title='MERN BASIC CONCEPT And COMMAND NOTES'/><author><name>Technicalstudy</name><uri>http://www.blogger.com/profile/17694642546870276675</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1905934111533627271.post-5391866743497809294</id><published>2023-09-17T10:48:00.005+05:30</published><updated>2023-09-19T21:10:12.624+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="Laravel"/><title type='text'>LARAVEL 9 Absolute Basic POINTs For CRUD</title><content type='html'>&lt;p&gt;&lt;span style=&quot;background-color: #fce5cd;&quot;&gt;&amp;nbsp;============ Laravel 9 Command ================&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;background-color: #fce5cd;&quot;&gt;1) - sudo mv composer.phar /usr/local/bin/composer (for globalliy install)&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;background-color: #fce5cd;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;background-color: #fce5cd;&quot;&gt;2) - &lt;b&gt;To check Composer&lt;/b&gt; :&amp;nbsp; php composer.phar&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;background-color: #fce5cd;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;background-color: #fce5cd;&quot;&gt;3) - &lt;b&gt;Install Laravel &lt;/b&gt;: composer create-project laravel/laravel example-app&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;background-color: #fce5cd;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;background-color: #fce5cd;&quot;&gt;4) - &lt;b&gt;To Run Project &lt;/b&gt;: php artisan serve&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;background-color: #fce5cd;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;background-color: #fce5cd;&quot;&gt;5) - &lt;b&gt;Project Permission In Ubuntu &lt;/b&gt;: sudo chmod 777 -R userdealApp/&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;background-color: #fce5cd;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;background-color: #fce5cd;&quot;&gt;&lt;b&gt;6) - Create for DB migration&lt;/b&gt;: php artisan migrate&amp;nbsp; &amp;nbsp;(Create table in DB)&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;background-color: #fce5cd;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;background-color: #fce5cd;&quot;&gt;&lt;b&gt;7) - create to table&amp;nbsp; cmd:&lt;/b&gt; php artisan make: migration create_Companies_table&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;background-color: #fce5cd;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;background-color: #fce5cd;&quot;&gt;&lt;b&gt;8)-&amp;nbsp;&lt;/b&gt;&lt;/span&gt;&lt;span style=&quot;background-color: #fce5cd;&quot;&gt;&lt;b&gt;update table &lt;/b&gt;:&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background-color: #fce5cd;&quot;&gt;php artisan make: migration update_companies_table (update table)&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;background-color: #fce5cd;&quot;&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;background-color: #fce5cd;&quot;&gt;&lt;b&gt;9)- To Create Model &lt;/b&gt;: php artisan make:model Company.&amp;nbsp; (Name must be camelcase and singlular)&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;background-color: #fce5cd;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;background-color: #fce5cd;&quot;&gt;10) - php artisan make:model Company -m&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;background-color: #fce5cd;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;background-color: #fce5cd;&quot;&gt;&lt;b&gt;11)- To Create Controller&lt;/b&gt;:&amp;nbsp; php artisan make:controller CompanyController --resource.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;background-color: #fce5cd;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;background-color: #fce5cd;&quot;&gt;12)- php artisan optimize:clear&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;background-color: #fce5cd;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;background-color: #fce5cd;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;background-color: #fce5cd;&quot;&gt;=========== CRUD ===========&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;background-color: #fce5cd;&quot;&gt;1- how to print base_url : &amp;lt;?php echo url(&#39;&#39;) ?&amp;gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;background-color: #fce5cd;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;background-color: #fce5cd;&quot;&gt;2- Store Form Data&amp;nbsp; : $request-&amp;gt;input(&#39;name&#39;);&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;background-color: #fce5cd;&quot;&gt;&amp;nbsp; Note : Use @csrf before form tag when 419 page expired issues occured.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;background-color: #fce5cd;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;background-color: #fce5cd;&quot;&gt;3- Redirect url : return redirect(&#39;/admin&#39;);&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='https://technicalstudyon.blogspot.com/feeds/5391866743497809294/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://technicalstudyon.blogspot.com/2023/09/laravel-9-absolute-basic-points-for-crud.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/1905934111533627271/posts/default/5391866743497809294'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/1905934111533627271/posts/default/5391866743497809294'/><link rel='alternate' type='text/html' href='https://technicalstudyon.blogspot.com/2023/09/laravel-9-absolute-basic-points-for-crud.html' title='LARAVEL 9 Absolute Basic POINTs For CRUD'/><author><name>Technicalstudy</name><uri>http://www.blogger.com/profile/17694642546870276675</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1905934111533627271.post-8124507766960585164</id><published>2023-09-17T10:43:00.004+05:30</published><updated>2023-09-19T21:11:38.917+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="CodeIngniter 4"/><title type='text'>UPLOAD MULTIPLE IMAGE BY CI4</title><content type='html'>&lt;span style=&quot;background-color: white;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;u&gt;Upload Multiple Imagae by CodeIgniter-4&lt;/u&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;div&gt;&lt;span style=&quot;background-color: white;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;u&gt;&lt;br /&gt;&lt;/u&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;step 1 - App/config App.php base Url&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;div style=&quot;background-color: #1e1e1e; color: #d4d4d4; font-family: &amp;quot;Droid Sans Mono&amp;quot;, &amp;quot;monospace&amp;quot;, monospace; font-size: 14px; line-height: 19px; white-space: pre;&quot;&gt;&lt;div&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;&amp;lt;?php&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;namespace&lt;/span&gt; &lt;span style=&quot;color: #4ec9b0;&quot;&gt;Config&lt;/span&gt;;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;use&lt;/span&gt; CodeIgniter\Config\&lt;span style=&quot;color: #4ec9b0;&quot;&gt;BaseConfig&lt;/span&gt;;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;class&lt;/span&gt; &lt;span style=&quot;color: #4ec9b0;&quot;&gt;App&lt;/span&gt; &lt;span style=&quot;color: #569cd6;&quot;&gt;extends&lt;/span&gt; &lt;span style=&quot;color: #4ec9b0;&quot;&gt;BaseConfig&lt;/span&gt;&lt;/div&gt;&lt;div&gt;{&lt;/div&gt;&lt;div&gt;    &lt;span style=&quot;color: #6a9955;&quot;&gt;/**&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #6a9955;&quot;&gt;     * --------------------------------------------------------------------------&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #6a9955;&quot;&gt;     * Base Site URL&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #6a9955;&quot;&gt;     * --------------------------------------------------------------------------&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #6a9955;&quot;&gt;     *&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #6a9955;&quot;&gt;     * URL to your CodeIgniter root. Typically, this will be your base URL,&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #6a9955;&quot;&gt;     * WITH a trailing slash:&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #6a9955;&quot;&gt;     *&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #6a9955;&quot;&gt;     *    http://example.com/&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #6a9955;&quot;&gt;     */&lt;/span&gt;&lt;/div&gt;&lt;div&gt;    &lt;span style=&quot;color: #569cd6;&quot;&gt;public&lt;/span&gt; &lt;span style=&quot;color: #569cd6;&quot;&gt;string&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;$baseURL&lt;/span&gt; = &lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;http://127.0.0.1/multimage/public/&#39;&lt;/span&gt;;&lt;/div&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;step 2 - Create database and define in Database.php&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;div style=&quot;background-color: #1e1e1e; color: #d4d4d4; font-family: &amp;quot;Droid Sans Mono&amp;quot;, &amp;quot;monospace&amp;quot;, monospace; font-size: 14px; line-height: 19px; white-space: pre;&quot;&gt;&lt;div&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;&amp;lt;?php&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;namespace&lt;/span&gt; &lt;span style=&quot;color: #4ec9b0;&quot;&gt;Config&lt;/span&gt;;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;use&lt;/span&gt; CodeIgniter\Database\&lt;span style=&quot;color: #4ec9b0;&quot;&gt;Config&lt;/span&gt;;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;span style=&quot;color: #6a9955;&quot;&gt;/**&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #6a9955;&quot;&gt; * Database Configuration&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #6a9955;&quot;&gt; */&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;class&lt;/span&gt; &lt;span style=&quot;color: #4ec9b0;&quot;&gt;Database&lt;/span&gt; &lt;span style=&quot;color: #569cd6;&quot;&gt;extends&lt;/span&gt; &lt;span style=&quot;color: #4ec9b0;&quot;&gt;Config&lt;/span&gt;&lt;/div&gt;&lt;div&gt;{&lt;/div&gt;&lt;div&gt;    &lt;span style=&quot;color: #6a9955;&quot;&gt;/**&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #6a9955;&quot;&gt;     * The directory that holds the Migrations&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #6a9955;&quot;&gt;     * and Seeds directories.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #6a9955;&quot;&gt;     */&lt;/span&gt;&lt;/div&gt;&lt;div&gt;    &lt;span style=&quot;color: #569cd6;&quot;&gt;public&lt;/span&gt; &lt;span style=&quot;color: #569cd6;&quot;&gt;string&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;$filesPath&lt;/span&gt; = APPPATH . &lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;Database&#39;&lt;/span&gt; . DIRECTORY_SEPARATOR;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;    &lt;span style=&quot;color: #6a9955;&quot;&gt;/**&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #6a9955;&quot;&gt;     * Lets you choose which connection group to&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #6a9955;&quot;&gt;     * use if no other is specified.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #6a9955;&quot;&gt;     */&lt;/span&gt;&lt;/div&gt;&lt;div&gt;    &lt;span style=&quot;color: #569cd6;&quot;&gt;public&lt;/span&gt; &lt;span style=&quot;color: #569cd6;&quot;&gt;string&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;$defaultGroup&lt;/span&gt; = &lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;default&#39;&lt;/span&gt;;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;    &lt;span style=&quot;color: #6a9955;&quot;&gt;/**&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #6a9955;&quot;&gt;     * The default database connection.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #6a9955;&quot;&gt;     */&lt;/span&gt;&lt;/div&gt;&lt;div&gt;    &lt;span style=&quot;color: #569cd6;&quot;&gt;public&lt;/span&gt; &lt;span style=&quot;color: #569cd6;&quot;&gt;array&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;$default&lt;/span&gt; = [&lt;/div&gt;&lt;div&gt;        &lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;DSN&#39;&lt;/span&gt;          =&amp;gt; &lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;&#39;&lt;/span&gt;,&lt;/div&gt;&lt;div&gt;        &lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;hostname&#39;&lt;/span&gt;     =&amp;gt; &lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;localhost&#39;&lt;/span&gt;,&lt;/div&gt;&lt;div&gt;        &lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;username&#39;&lt;/span&gt;     =&amp;gt; &lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;root&#39;&lt;/span&gt;,&lt;/div&gt;&lt;div&gt;        &lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;password&#39;&lt;/span&gt;     =&amp;gt; &lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;root&#39;&lt;/span&gt;,&lt;/div&gt;&lt;div&gt;        &lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;database&#39;&lt;/span&gt;     =&amp;gt; &lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;ajaxcrud&#39;&lt;/span&gt;,&lt;/div&gt;&lt;div&gt;        &lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;DBDriver&#39;&lt;/span&gt;     =&amp;gt; &lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;MySQLi&#39;&lt;/span&gt;,&lt;/div&gt;&lt;div&gt;        &lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;DBPrefix&#39;&lt;/span&gt;     =&amp;gt; &lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;&#39;&lt;/span&gt;,&lt;/div&gt;&lt;div&gt;        &lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;pConnect&#39;&lt;/span&gt;     =&amp;gt; &lt;span style=&quot;color: #569cd6;&quot;&gt;false&lt;/span&gt;,&lt;/div&gt;&lt;div&gt;        &lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;DBDebug&#39;&lt;/span&gt;      =&amp;gt; &lt;span style=&quot;color: #569cd6;&quot;&gt;true&lt;/span&gt;,&lt;/div&gt;&lt;div&gt;        &lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;charset&#39;&lt;/span&gt;      =&amp;gt; &lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;utf8&#39;&lt;/span&gt;,&lt;/div&gt;&lt;div&gt;        &lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;DBCollat&#39;&lt;/span&gt;     =&amp;gt; &lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;utf8_general_ci&#39;&lt;/span&gt;,&lt;/div&gt;&lt;div&gt;        &lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;swapPre&#39;&lt;/span&gt;      =&amp;gt; &lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;&#39;&lt;/span&gt;,&lt;/div&gt;&lt;div&gt;        &lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;encrypt&#39;&lt;/span&gt;      =&amp;gt; &lt;span style=&quot;color: #569cd6;&quot;&gt;false&lt;/span&gt;,&lt;/div&gt;&lt;div&gt;        &lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;compress&#39;&lt;/span&gt;     =&amp;gt; &lt;span style=&quot;color: #569cd6;&quot;&gt;false&lt;/span&gt;,&lt;/div&gt;&lt;div&gt;        &lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;strictOn&#39;&lt;/span&gt;     =&amp;gt; &lt;span style=&quot;color: #569cd6;&quot;&gt;false&lt;/span&gt;,&lt;/div&gt;&lt;div&gt;        &lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;failover&#39;&lt;/span&gt;     =&amp;gt; [],&lt;/div&gt;&lt;div&gt;        &lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;port&#39;&lt;/span&gt;         =&amp;gt; &lt;span style=&quot;color: #b5cea8;&quot;&gt;3306&lt;/span&gt;,&lt;/div&gt;&lt;div&gt;        &lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;numberNative&#39;&lt;/span&gt; =&amp;gt; &lt;span style=&quot;color: #569cd6;&quot;&gt;false&lt;/span&gt;,&lt;/div&gt;&lt;div&gt;    ];&lt;/div&gt;&lt;br /&gt;&lt;div&gt;    &lt;span style=&quot;color: #6a9955;&quot;&gt;/**&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #6a9955;&quot;&gt;     * This database connection is used when&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #6a9955;&quot;&gt;     * running PHPUnit database tests.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #6a9955;&quot;&gt;     */&lt;/span&gt;&lt;/div&gt;&lt;div&gt;    &lt;span style=&quot;color: #569cd6;&quot;&gt;public&lt;/span&gt; &lt;span style=&quot;color: #569cd6;&quot;&gt;array&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;$tests&lt;/span&gt; = [&lt;/div&gt;&lt;div&gt;        &lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;DSN&#39;&lt;/span&gt;         =&amp;gt; &lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;&#39;&lt;/span&gt;,&lt;/div&gt;&lt;div&gt;        &lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;hostname&#39;&lt;/span&gt;    =&amp;gt; &lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;127.0.0.1&#39;&lt;/span&gt;,&lt;/div&gt;&lt;div&gt;        &lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;username&#39;&lt;/span&gt;    =&amp;gt; &lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;&#39;&lt;/span&gt;,&lt;/div&gt;&lt;div&gt;        &lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;password&#39;&lt;/span&gt;    =&amp;gt; &lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;&#39;&lt;/span&gt;,&lt;/div&gt;&lt;div&gt;        &lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;database&#39;&lt;/span&gt;    =&amp;gt; &lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;:memory:&#39;&lt;/span&gt;,&lt;/div&gt;&lt;div&gt;        &lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;DBDriver&#39;&lt;/span&gt;    =&amp;gt; &lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;SQLite3&#39;&lt;/span&gt;,&lt;/div&gt;&lt;div&gt;        &lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;DBPrefix&#39;&lt;/span&gt;    =&amp;gt; &lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;db_&#39;&lt;/span&gt;,  &lt;span style=&quot;color: #6a9955;&quot;&gt;// Needed to ensure we&#39;re working &lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #6a9955;&quot;&gt;        correctly with prefixes live. DO NOT REMOVE FOR CI DEVS&lt;/span&gt;&lt;/div&gt;&lt;div&gt;        &lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;pConnect&#39;&lt;/span&gt;    =&amp;gt; &lt;span style=&quot;color: #569cd6;&quot;&gt;false&lt;/span&gt;,&lt;/div&gt;&lt;div&gt;        &lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;DBDebug&#39;&lt;/span&gt;     =&amp;gt; &lt;span style=&quot;color: #569cd6;&quot;&gt;true&lt;/span&gt;,&lt;/div&gt;&lt;div&gt;        &lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;charset&#39;&lt;/span&gt;     =&amp;gt; &lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;utf8&#39;&lt;/span&gt;,&lt;/div&gt;&lt;div&gt;        &lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;DBCollat&#39;&lt;/span&gt;    =&amp;gt; &lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;utf8_general_ci&#39;&lt;/span&gt;,&lt;/div&gt;&lt;div&gt;        &lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;swapPre&#39;&lt;/span&gt;     =&amp;gt; &lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;&#39;&lt;/span&gt;,&lt;/div&gt;&lt;div&gt;        &lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;encrypt&#39;&lt;/span&gt;     =&amp;gt; &lt;span style=&quot;color: #569cd6;&quot;&gt;false&lt;/span&gt;,&lt;/div&gt;&lt;div&gt;        &lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;compress&#39;&lt;/span&gt;    =&amp;gt; &lt;span style=&quot;color: #569cd6;&quot;&gt;false&lt;/span&gt;,&lt;/div&gt;&lt;div&gt;        &lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;strictOn&#39;&lt;/span&gt;    =&amp;gt; &lt;span style=&quot;color: #569cd6;&quot;&gt;false&lt;/span&gt;,&lt;/div&gt;&lt;div&gt;        &lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;failover&#39;&lt;/span&gt;    =&amp;gt; [],&lt;/div&gt;&lt;div&gt;        &lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;port&#39;&lt;/span&gt;        =&amp;gt; &lt;span style=&quot;color: #b5cea8;&quot;&gt;3306&lt;/span&gt;,&lt;/div&gt;&lt;div&gt;        &lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;foreignKeys&#39;&lt;/span&gt; =&amp;gt; &lt;span style=&quot;color: #569cd6;&quot;&gt;true&lt;/span&gt;,&lt;/div&gt;&lt;div&gt;        &lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;busyTimeout&#39;&lt;/span&gt; =&amp;gt; &lt;span style=&quot;color: #b5cea8;&quot;&gt;1000&lt;/span&gt;,&lt;/div&gt;&lt;div&gt;    ];&lt;/div&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;step 3 - Create Model and define table fields in StudentModel.php&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;div style=&quot;background-color: #1e1e1e; color: #d4d4d4; font-family: &amp;quot;Droid Sans Mono&amp;quot;, &amp;quot;monospace&amp;quot;, monospace; font-size: 14px; line-height: 19px; white-space: pre;&quot;&gt;&lt;div&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;&amp;lt;?php&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;namespace&lt;/span&gt; &lt;span style=&quot;color: #4ec9b0;&quot;&gt;App\Models&lt;/span&gt;;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;use&lt;/span&gt; CodeIgniter\&lt;span style=&quot;color: #4ec9b0;&quot;&gt;Model&lt;/span&gt;;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;class&lt;/span&gt; &lt;span style=&quot;color: #4ec9b0;&quot;&gt;StudentModel&lt;/span&gt; &lt;span style=&quot;color: #569cd6;&quot;&gt;extends&lt;/span&gt; &lt;span style=&quot;color: #4ec9b0;&quot;&gt;Model&lt;/span&gt;{&lt;/div&gt;&lt;div&gt;    &lt;span style=&quot;color: #569cd6;&quot;&gt;protected&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;$table&lt;/span&gt; =&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;students&quot;&lt;/span&gt;;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;    &lt;span style=&quot;color: #569cd6;&quot;&gt;protected&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;$primaryKey&lt;/span&gt; = &lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;id&quot;&lt;/span&gt;;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;    &lt;span style=&quot;color: #569cd6;&quot;&gt;protected&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;$allowedFields&lt;/span&gt; = [&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;image&#39;&lt;/span&gt;];&lt;/div&gt;&lt;div&gt;}&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;step 4 - Create and define routes in Routes.php :&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;div style=&quot;background-color: #1e1e1e; color: #d4d4d4; font-family: &amp;quot;Droid Sans Mono&amp;quot;, &amp;quot;monospace&amp;quot;, monospace; font-size: 14px; line-height: 19px; white-space: pre;&quot;&gt;&lt;div&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;&amp;lt;?php&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;use&lt;/span&gt; CodeIgniter\Router\&lt;span style=&quot;color: #4ec9b0;&quot;&gt;RouteCollection&lt;/span&gt;;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;span style=&quot;color: #6a9955;&quot;&gt;/**&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #6a9955;&quot;&gt; * &lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;@var&lt;/span&gt;&lt;span style=&quot;color: #6a9955;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #4ec9b0;&quot;&gt;RouteCollection&lt;/span&gt;&lt;span style=&quot;color: #6a9955;&quot;&gt; $routes&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #6a9955;&quot;&gt; */&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #9cdcfe;&quot;&gt;$routes&lt;/span&gt;-&amp;gt;&lt;span style=&quot;color: #dcdcaa;&quot;&gt;get&lt;/span&gt;(&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;/imgform&#39;&lt;/span&gt;,&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;Home::imgform&#39;&lt;/span&gt;);&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #9cdcfe;&quot;&gt;$routes&lt;/span&gt;-&amp;gt;&lt;span style=&quot;color: #dcdcaa;&quot;&gt;post&lt;/span&gt;(&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;/upload&#39;&lt;/span&gt;,&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;Home::upload&#39;&lt;/span&gt;);&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;step 5 - Create view file imgform.php&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;div style=&quot;background-color: #1e1e1e; color: #d4d4d4; font-family: &amp;quot;Droid Sans Mono&amp;quot;, &amp;quot;monospace&amp;quot;, monospace; font-size: 14px; line-height: 19px; white-space: pre;&quot;&gt;&lt;div&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;!&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;doctype&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;html&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;html&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;lang&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;en&quot;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;head&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;  &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;meta&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;charset&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;utf-8&quot;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;  &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;meta&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;name&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;viewport&quot;&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;content&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;width=device-width, initial-scale=1, &lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #ce9178;&quot;&gt;  shrink-to-fit=no&quot;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;  &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;title&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;Upload Multiple Files or Images in Codeigniter 4 &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;title&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;  &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;link&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;rel&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;stylesheet&quot;&lt;/span&gt; &lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #9cdcfe;&quot;&gt;href&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;https://stackpath.bootstrapcdn.com/bootstrap/4.5.0/css/bootstrap.min.css&quot;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;  &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;style&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;    &lt;span style=&quot;color: #d7ba7d;&quot;&gt;.container&lt;/span&gt; {&lt;/div&gt;&lt;div&gt;      &lt;span style=&quot;color: #9cdcfe;&quot;&gt;max-width&lt;/span&gt;: &lt;span style=&quot;color: #b5cea8;&quot;&gt;500px&lt;/span&gt;;&lt;/div&gt;&lt;div&gt;    }&lt;/div&gt;&lt;div&gt;  &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;style&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;  &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;script&lt;/span&gt; &lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #9cdcfe;&quot;&gt;   src&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;https://ajax.googleapis.com/ajax/libs/jquery/3.6.4/jquery.min.js&quot;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;script&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;head&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;body&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;  &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;div&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;class&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;container mt-5&quot;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;    &lt;span style=&quot;color: #569cd6;&quot;&gt;&amp;lt;?php&lt;/span&gt; &lt;span style=&quot;color: #c586c0;&quot;&gt;if&lt;/span&gt; (&lt;span style=&quot;color: #dcdcaa;&quot;&gt;session&lt;/span&gt;(&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;msg&#39;&lt;/span&gt;)) : &lt;span style=&quot;color: #569cd6;&quot;&gt;?&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;        &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;div&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;class&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;alert alert-success mt-3&quot;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;            &lt;span style=&quot;color: #569cd6;&quot;&gt;&amp;lt;?=&lt;/span&gt; &lt;span style=&quot;color: #dcdcaa;&quot;&gt;session&lt;/span&gt;(&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;msg&#39;&lt;/span&gt;) &lt;span style=&quot;color: #569cd6;&quot;&gt;?&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;        &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;div&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;    &lt;span style=&quot;color: #569cd6;&quot;&gt;&amp;lt;?php&lt;/span&gt; &lt;span style=&quot;color: #c586c0;&quot;&gt;endif&lt;/span&gt; &lt;span style=&quot;color: #569cd6;&quot;&gt;?&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;&amp;gt;&lt;/span&gt;    &lt;/div&gt;&lt;div&gt;    &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;div&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;class&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;col-lg-12&quot;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;        &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;h3&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;Multiple Image Upload By CI4&lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;h3&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;    &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;div&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;    &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;form&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;method&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;post&quot;&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;action&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;&amp;lt;?php&lt;/span&gt; &lt;span style=&quot;color: #dcdcaa;&quot;&gt;echo&lt;/span&gt; &lt;span style=&quot;color: #dcdcaa;&quot;&gt;base_url&lt;/span&gt;(&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;/upload&#39;&lt;/span&gt;);&lt;span style=&quot;color: #569cd6;&quot;&gt;?&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;&lt;/span&gt; &lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #9cdcfe;&quot;&gt;    enctype&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;multipart/form-data&quot;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;      &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;div&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;class&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;form-group mt-3&quot;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;        &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;input&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;type&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;file&quot;&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;name&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;images[]&#39;&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;multiple&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;&quot;&lt;/span&gt;  &lt;span style=&quot;color: #9cdcfe;&quot;&gt;id&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;images&quot;&lt;/span&gt; &lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #9cdcfe;&quot;&gt;         class&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;form-control&quot;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;      &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;div&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;      &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;div&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;class&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;form-group&quot;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;        &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;button&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;type&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;submit&quot;&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;id&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;submit&quot;&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;class&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;btn btn-danger&quot;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;Upload&lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;button&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;      &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;div&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;    &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;form&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;  &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;div&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;div&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;body&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;html&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;step 6 - To create Controller Home.php&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;div style=&quot;background-color: #1e1e1e; color: #d4d4d4; font-family: &amp;quot;Droid Sans Mono&amp;quot;, &amp;quot;monospace&amp;quot;, monospace; font-size: 14px; line-height: 19px; white-space: pre;&quot;&gt;&lt;div&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;&amp;lt;?php&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;namespace&lt;/span&gt; &lt;span style=&quot;color: #4ec9b0;&quot;&gt;App\Controllers&lt;/span&gt;;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;use&lt;/span&gt; App\Models\&lt;span style=&quot;color: #4ec9b0;&quot;&gt;StudentModel&lt;/span&gt;;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;class&lt;/span&gt; &lt;span style=&quot;color: #4ec9b0;&quot;&gt;Home&lt;/span&gt; &lt;span style=&quot;color: #569cd6;&quot;&gt;extends&lt;/span&gt; &lt;span style=&quot;color: #4ec9b0;&quot;&gt;BaseController&lt;/span&gt;&lt;/div&gt;&lt;div&gt;{&lt;/div&gt;&lt;div&gt;    &lt;span style=&quot;color: #6a9955;&quot;&gt;// upload images functions&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;    &lt;span style=&quot;color: #569cd6;&quot;&gt;public&lt;/span&gt; &lt;span style=&quot;color: #569cd6;&quot;&gt;function&lt;/span&gt; &lt;span style=&quot;color: #dcdcaa;&quot;&gt;imgform&lt;/span&gt;(){&lt;/div&gt;&lt;div&gt;        &lt;span style=&quot;color: #c586c0;&quot;&gt;return&lt;/span&gt; &lt;span style=&quot;color: #dcdcaa;&quot;&gt;view&lt;/span&gt;(&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;imgform&#39;&lt;/span&gt;);&lt;/div&gt;&lt;div&gt;    }&lt;/div&gt;&lt;br /&gt;&lt;div&gt;    &lt;span style=&quot;color: #569cd6;&quot;&gt;public&lt;/span&gt; &lt;span style=&quot;color: #569cd6;&quot;&gt;function&lt;/span&gt; &lt;span style=&quot;color: #dcdcaa;&quot;&gt;upload&lt;/span&gt;(){&lt;/div&gt;&lt;div&gt;        &lt;span style=&quot;color: #9cdcfe;&quot;&gt;$model&lt;/span&gt; = &lt;span style=&quot;color: #569cd6;&quot;&gt;new&lt;/span&gt; &lt;span style=&quot;color: #4ec9b0;&quot;&gt;StudentModel&lt;/span&gt;();&lt;/div&gt;&lt;div&gt;            &lt;span style=&quot;color: #9cdcfe;&quot;&gt;$msg&lt;/span&gt; = &lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;Please select a valid files&#39;&lt;/span&gt;;&lt;/div&gt;&lt;div&gt;    &lt;/div&gt;&lt;div&gt;            &lt;span style=&quot;color: #c586c0;&quot;&gt;if&lt;/span&gt; (&lt;span style=&quot;color: #569cd6;&quot;&gt;$this&lt;/span&gt;-&amp;gt;&lt;span style=&quot;color: #9cdcfe;&quot;&gt;request&lt;/span&gt;-&amp;gt;&lt;span style=&quot;color: #dcdcaa;&quot;&gt;getFileMultiple&lt;/span&gt;(&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;images&#39;&lt;/span&gt;)) {&lt;/div&gt;&lt;div&gt;     &lt;/div&gt;&lt;div&gt;                 &lt;span style=&quot;color: #c586c0;&quot;&gt;foreach&lt;/span&gt;(&lt;span style=&quot;color: #569cd6;&quot;&gt;$this&lt;/span&gt;-&amp;gt;&lt;span style=&quot;color: #9cdcfe;&quot;&gt;request&lt;/span&gt;-&amp;gt;&lt;span style=&quot;color: #dcdcaa;&quot;&gt;getFileMultiple&lt;/span&gt;(&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;images&#39;&lt;/span&gt;) as &lt;span style=&quot;color: #9cdcfe;&quot;&gt;$file&lt;/span&gt;)&lt;/div&gt;&lt;div&gt;                 {   &lt;/div&gt;&lt;div&gt;     &lt;/div&gt;&lt;div&gt;                    &lt;span style=&quot;color: #9cdcfe;&quot;&gt;$file&lt;/span&gt;-&amp;gt;&lt;span style=&quot;color: #dcdcaa;&quot;&gt;move&lt;/span&gt;(WRITEPATH . &lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;uploads&#39;&lt;/span&gt;);&lt;/div&gt;&lt;div&gt;     &lt;/div&gt;&lt;div&gt;                  &lt;span style=&quot;color: #9cdcfe;&quot;&gt;$data&lt;/span&gt; = [&lt;/div&gt;&lt;div&gt;                    &lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;image&#39;&lt;/span&gt; =&amp;gt;  &lt;span style=&quot;color: #9cdcfe;&quot;&gt;$file&lt;/span&gt;-&amp;gt;&lt;span style=&quot;color: #dcdcaa;&quot;&gt;getClientName&lt;/span&gt;(),&lt;/div&gt;&lt;div&gt;                    &lt;span style=&quot;color: #6a9955;&quot;&gt;// &#39;type&#39;  =&amp;gt; $file-&amp;gt;getClientMimeType()&lt;/span&gt;&lt;/div&gt;&lt;div&gt;                  ];&lt;/div&gt;&lt;div&gt;     &lt;/div&gt;&lt;div&gt;                  &lt;span style=&quot;color: #9cdcfe;&quot;&gt;$save&lt;/span&gt; = &lt;span style=&quot;color: #9cdcfe;&quot;&gt;$model&lt;/span&gt;-&amp;gt;&lt;span style=&quot;color: #dcdcaa;&quot;&gt;save&lt;/span&gt;(&lt;span style=&quot;color: #9cdcfe;&quot;&gt;$data&lt;/span&gt;);&lt;/div&gt;&lt;div&gt;                  &lt;span style=&quot;color: #9cdcfe;&quot;&gt;$msg&lt;/span&gt; = &lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;Files have been successfully uploaded&#39;&lt;/span&gt;;&lt;/div&gt;&lt;div&gt;                 }&lt;/div&gt;&lt;div&gt;            }&lt;/div&gt;&lt;div&gt;     &lt;/div&gt;&lt;div&gt;            &lt;span style=&quot;color: #c586c0;&quot;&gt;return&lt;/span&gt; &lt;span style=&quot;color: #dcdcaa;&quot;&gt;redirect&lt;/span&gt;()-&amp;gt;&lt;span style=&quot;color: #dcdcaa;&quot;&gt;to&lt;/span&gt;( &lt;span style=&quot;color: #dcdcaa;&quot;&gt;base_url&lt;/span&gt;(&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;/imgform&#39;&lt;/span&gt;) )-&amp;gt;&lt;span style=&quot;color: #dcdcaa;&quot;&gt;with&lt;/span&gt;(&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;msg&#39;&lt;/span&gt;, &lt;span style=&quot;color: #9cdcfe;&quot;&gt;$msg&lt;/span&gt;);        &lt;/div&gt;&lt;div&gt;        }&lt;/div&gt;&lt;div&gt;   &lt;/div&gt;&lt;div&gt;}&lt;/div&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='https://technicalstudyon.blogspot.com/feeds/8124507766960585164/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://technicalstudyon.blogspot.com/2023/09/upload-multiple-image-by-ci4.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/1905934111533627271/posts/default/8124507766960585164'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/1905934111533627271/posts/default/8124507766960585164'/><link rel='alternate' type='text/html' href='https://technicalstudyon.blogspot.com/2023/09/upload-multiple-image-by-ci4.html' title='UPLOAD MULTIPLE IMAGE BY CI4'/><author><name>Technicalstudy</name><uri>http://www.blogger.com/profile/17694642546870276675</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1905934111533627271.post-1242311655646244862</id><published>2023-09-16T11:09:00.002+05:30</published><updated>2023-09-19T21:11:59.881+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="CodeIngniter 4"/><title type='text'>IMPORT CSV DATA USING CODEIGNITER FOUR</title><content type='html'>&lt;p&gt;&amp;nbsp;&lt;b&gt;IMPORT CSV Using&amp;nbsp; CODEIGNITER 4 -&lt;/b&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;STEP 1-&amp;nbsp; App Config to Set Base url :&lt;/b&gt;&lt;/p&gt;&lt;div style=&quot;background-color: #1e1e1e; color: #d4d4d4; font-family: &amp;quot;Droid Sans Mono&amp;quot;, &amp;quot;monospace&amp;quot;, monospace; font-size: 14px; line-height: 19px; white-space: pre;&quot;&gt;&lt;div&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;&amp;lt;?php&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;namespace&lt;/span&gt; &lt;span style=&quot;color: #4ec9b0;&quot;&gt;Config&lt;/span&gt;;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;use&lt;/span&gt; CodeIgniter\Config\&lt;span style=&quot;color: #4ec9b0;&quot;&gt;BaseConfig&lt;/span&gt;;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;class&lt;/span&gt; &lt;span style=&quot;color: #4ec9b0;&quot;&gt;App&lt;/span&gt; &lt;span style=&quot;color: #569cd6;&quot;&gt;extends&lt;/span&gt; &lt;span style=&quot;color: #4ec9b0;&quot;&gt;BaseConfig&lt;/span&gt;&lt;/div&gt;&lt;div&gt;{&lt;/div&gt;&lt;div&gt;    &lt;span style=&quot;color: #6a9955;&quot;&gt;/**&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #6a9955;&quot;&gt;     * --------------------------------------------------------------------------&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #6a9955;&quot;&gt;     * Base Site URL&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #6a9955;&quot;&gt;     * --------------------------------------------------------------------------&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #6a9955;&quot;&gt;     *&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #6a9955;&quot;&gt;     * URL to your CodeIgniter root. Typically, this will be your base URL,&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #6a9955;&quot;&gt;     * WITH a trailing slash:&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #6a9955;&quot;&gt;     *&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #6a9955;&quot;&gt;     *    http://example.com/&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #6a9955;&quot;&gt;     */&lt;/span&gt;&lt;/div&gt;&lt;div&gt;    &lt;span style=&quot;color: #569cd6;&quot;&gt;public&lt;/span&gt; &lt;span style=&quot;color: #569cd6;&quot;&gt;string&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;$baseURL&lt;/span&gt; = &lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;http://127.0.0.1/importdata/public/&#39;&lt;/span&gt;;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;    &lt;span style=&quot;color: #6a9955;&quot;&gt;/**&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;p&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;STEP 2-&amp;nbsp; Database Define ENV file&lt;/b&gt;&lt;/p&gt;&lt;div style=&quot;background-color: #1e1e1e; color: #d4d4d4; font-family: &amp;quot;Droid Sans Mono&amp;quot;, &amp;quot;monospace&amp;quot;, monospace; font-size: 14px; line-height: 19px; white-space: pre;&quot;&gt;&lt;div&gt;#--------------------------------------------------------------------&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #569cd6; font-weight: bold;&quot;&gt;# ENVIRONMENT&lt;/span&gt;&lt;/div&gt;&lt;div&gt;#--------------------------------------------------------------------&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;span style=&quot;color: #569cd6; font-weight: bold;&quot;&gt;# CI_ENVIRONMENT = production&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;#--------------------------------------------------------------------&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #569cd6; font-weight: bold;&quot;&gt;# APP&lt;/span&gt;&lt;/div&gt;&lt;div&gt;#--------------------------------------------------------------------&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;span style=&quot;color: #569cd6; font-weight: bold;&quot;&gt;# app.baseURL = &#39;&#39;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #569cd6; font-weight: bold;&quot;&gt;# If you have trouble with &lt;/span&gt;&lt;span style=&quot;color: #ce9178; font-weight: bold;&quot;&gt;`.`&lt;/span&gt;&lt;span style=&quot;color: #569cd6; font-weight: bold;&quot;&gt;, you could also use &lt;/span&gt;&lt;span style=&quot;color: #ce9178; font-weight: bold;&quot;&gt;`_`&lt;/span&gt;&lt;span style=&quot;color: #569cd6; font-weight: bold;&quot;&gt;.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #569cd6; font-weight: bold;&quot;&gt;# app_baseURL = &#39;&#39;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #569cd6; font-weight: bold;&quot;&gt;# app.forceGlobalSecureRequests = false&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #569cd6; font-weight: bold;&quot;&gt;# app.CSPEnabled = false&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;#--------------------------------------------------------------------&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #569cd6; font-weight: bold;&quot;&gt;# DATABASE&lt;/span&gt;&lt;/div&gt;&lt;div&gt;#--------------------------------------------------------------------&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;span style=&quot;color: #569cd6; font-weight: bold;&quot;&gt;# database.default.hostname = localhost&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #569cd6; font-weight: bold;&quot;&gt;# database.default.database = import_data&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #569cd6; font-weight: bold;&quot;&gt;# database.default.username = root&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #569cd6; font-weight: bold;&quot;&gt;# database.default.password = root&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #569cd6; font-weight: bold;&quot;&gt;# database.default.DBDriver = MySQLi&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #569cd6; font-weight: bold;&quot;&gt;# database.default.DBPrefix =&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #569cd6; font-weight: bold;&quot;&gt;# database.default.port = 3306&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;span style=&quot;color: #569cd6; font-weight: bold;&quot;&gt;# database.tests.hostname = localhost&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #569cd6; font-weight: bold;&quot;&gt;# database.tests.database = ci4_test&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #569cd6; font-weight: bold;&quot;&gt;# database.tests.username = root&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #569cd6; font-weight: bold;&quot;&gt;# database.tests.password = root&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #569cd6; font-weight: bold;&quot;&gt;# database.tests.DBDriver = MySQLi&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #569cd6; font-weight: bold;&quot;&gt;# database.tests.DBPrefix =&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #569cd6; font-weight: bold;&quot;&gt;# database.tests.port = 3306&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;#--------------------------------------------------------------------&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #569cd6; font-weight: bold;&quot;&gt;# CONTENT SECURITY POLICY&lt;/span&gt;&lt;/div&gt;&lt;div&gt;#--------------------------------------------------------------------&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;span style=&quot;color: #569cd6; font-weight: bold;&quot;&gt;# contentsecuritypolicy.reportOnly = false&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #569cd6; font-weight: bold;&quot;&gt;# contentsecuritypolicy.defaultSrc = &#39;none&#39;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #569cd6; font-weight: bold;&quot;&gt;# contentsecuritypolicy.scriptSrc = &#39;self&#39;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #569cd6; font-weight: bold;&quot;&gt;# contentsecuritypolicy.styleSrc = &#39;self&#39;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #569cd6; font-weight: bold;&quot;&gt;# contentsecuritypolicy.imageSrc = &#39;self&#39;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #569cd6; font-weight: bold;&quot;&gt;# contentsecuritypolicy.baseURI = null&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #569cd6; font-weight: bold;&quot;&gt;# contentsecuritypolicy.childSrc = null&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #569cd6; font-weight: bold;&quot;&gt;# contentsecuritypolicy.connectSrc = &#39;self&#39;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #569cd6; font-weight: bold;&quot;&gt;# contentsecuritypolicy.fontSrc = null&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #569cd6; font-weight: bold;&quot;&gt;# contentsecuritypolicy.formAction = null&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #569cd6; font-weight: bold;&quot;&gt;# contentsecuritypolicy.frameAncestors = null&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #569cd6; font-weight: bold;&quot;&gt;# contentsecuritypolicy.frameSrc = null&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #569cd6; font-weight: bold;&quot;&gt;# contentsecuritypolicy.mediaSrc = null&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #569cd6; font-weight: bold;&quot;&gt;# contentsecuritypolicy.objectSrc = null&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #569cd6; font-weight: bold;&quot;&gt;# contentsecuritypolicy.pluginTypes = null&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #569cd6; font-weight: bold;&quot;&gt;# contentsecuritypolicy.reportURI = null&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #569cd6; font-weight: bold;&quot;&gt;# contentsecuritypolicy.sandbox = false&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #569cd6; font-weight: bold;&quot;&gt;# contentsecuritypolicy.upgradeInsecureRequests = false&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #569cd6; font-weight: bold;&quot;&gt;# contentsecuritypolicy.styleNonceTag = &#39;{csp-style-nonce}&#39;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #569cd6; font-weight: bold;&quot;&gt;# contentsecuritypolicy.scriptNonceTag = &#39;{csp-script-nonce}&#39;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #569cd6; font-weight: bold;&quot;&gt;# contentsecuritypolicy.autoNonce = true&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;#--------------------------------------------------------------------&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #569cd6; font-weight: bold;&quot;&gt;# COOKIE&lt;/span&gt;&lt;/div&gt;&lt;div&gt;#--------------------------------------------------------------------&lt;/div&gt;&lt;br /&gt;&lt;/div&gt;&lt;p&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;STEP 3-&amp;nbsp; To Create Model&amp;nbsp; ImportModel.php and Define Table Field :&amp;nbsp;&lt;/b&gt;&lt;/p&gt;&lt;div style=&quot;background-color: #1e1e1e; color: #d4d4d4; font-family: &amp;quot;Droid Sans Mono&amp;quot;, &amp;quot;monospace&amp;quot;, monospace; font-size: 14px; line-height: 19px; white-space: pre;&quot;&gt;&lt;div&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;&amp;lt;?php&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;namespace&lt;/span&gt; &lt;span style=&quot;color: #4ec9b0;&quot;&gt;App\Models&lt;/span&gt;;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;use&lt;/span&gt; CodeIgniter\&lt;span style=&quot;color: #4ec9b0;&quot;&gt;Model&lt;/span&gt;;&lt;/div&gt;&lt;div&gt; &lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;class&lt;/span&gt; &lt;span style=&quot;color: #4ec9b0;&quot;&gt;ImportModel&lt;/span&gt; &lt;span style=&quot;color: #569cd6;&quot;&gt;extends&lt;/span&gt; &lt;span style=&quot;color: #4ec9b0;&quot;&gt;Model&lt;/span&gt;&lt;/div&gt;&lt;div&gt;{&lt;/div&gt;&lt;div&gt;    &lt;span style=&quot;color: #569cd6;&quot;&gt;protected&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;$table&lt;/span&gt; = &lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;students&#39;&lt;/span&gt;;&lt;/div&gt;&lt;div&gt;    &lt;span style=&quot;color: #569cd6;&quot;&gt;protected&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;$primaryKeys&lt;/span&gt; = &lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;id&#39;&lt;/span&gt;;&lt;/div&gt;&lt;div&gt;    &lt;span style=&quot;color: #569cd6;&quot;&gt;protected&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;$allowedFields&lt;/span&gt; = [&lt;/div&gt;&lt;div&gt;        &lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;name&#39;&lt;/span&gt;, &lt;/div&gt;&lt;div&gt;        &lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;email&#39;&lt;/span&gt;, &lt;/div&gt;&lt;div&gt;        &lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;phone&#39;&lt;/span&gt;,&lt;/div&gt;&lt;div&gt;        &lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;created_at&#39;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;    ];&lt;/div&gt;&lt;div&gt;}&lt;/div&gt;&lt;/div&gt;&lt;p&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;STEP 4-&amp;nbsp; To Create View index.php&lt;/b&gt;&lt;/p&gt;&lt;div style=&quot;background-color: #1e1e1e; color: #d4d4d4; font-family: &amp;quot;Droid Sans Mono&amp;quot;, &amp;quot;monospace&amp;quot;, monospace; font-size: 14px; line-height: 19px; white-space: pre;&quot;&gt;&lt;div&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;!&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;DOCTYPE&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;html&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;html&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;lang&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;en&quot;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;head&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;    &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;meta&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;charset&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;UTF-8&quot;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;    &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;title&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;Laravel Import Excel CSV to MySQL&lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;title&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;    &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;meta&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;name&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;description&quot;&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;content&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;The tiny framework with powerful features&quot;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;    &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;meta&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;name&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;viewport&quot;&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;content&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;width=device-width, initial-scale=1.0&quot;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;    &lt;/div&gt;&lt;div&gt;    &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;link&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;href&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;https://cdn.jsdelivr.net/npm/bootstrap@5.0.1/dist/css/bootstrap.min.css&quot;&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;rel&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;stylesheet&quot;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;    &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;style&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;      &lt;span style=&quot;color: #d7ba7d;&quot;&gt;.container&lt;/span&gt; {&lt;/div&gt;&lt;div&gt;        &lt;span style=&quot;color: #9cdcfe;&quot;&gt;max-width&lt;/span&gt;: &lt;span style=&quot;color: #b5cea8;&quot;&gt;500px&lt;/span&gt;;&lt;/div&gt;&lt;div&gt;      }&lt;/div&gt;&lt;div&gt;    &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;style&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;head&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;body&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;div&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;class&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;container mt-5&quot;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;    &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;div&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;class&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;card&quot;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;        &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;div&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;class&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;card-header text-center&quot;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;            &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;strong&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;Upload CSV File&lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;strong&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;        &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;div&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;        &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;div&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;class&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;card-body&quot;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;        &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;div&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;class&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;mt-2&quot;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;            &lt;span style=&quot;color: #569cd6;&quot;&gt;&amp;lt;?php&lt;/span&gt; &lt;span style=&quot;color: #c586c0;&quot;&gt;if&lt;/span&gt; (&lt;span style=&quot;color: #dcdcaa;&quot;&gt;session&lt;/span&gt;()-&amp;gt;&lt;span style=&quot;color: #dcdcaa;&quot;&gt;has&lt;/span&gt;(&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;message&#39;&lt;/span&gt;)){ &lt;span style=&quot;color: #569cd6;&quot;&gt;?&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;                &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;div&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;class&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;alert &lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;&amp;lt;?=&lt;/span&gt;&lt;span style=&quot;color: #dcdcaa;&quot;&gt;session&lt;/span&gt;()-&amp;gt;&lt;span style=&quot;color: #dcdcaa;&quot;&gt;getFlashdata&lt;/span&gt;(&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;alert-class&#39;&lt;/span&gt;) &lt;span style=&quot;color: #569cd6;&quot;&gt;?&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;                    &lt;span style=&quot;color: #569cd6;&quot;&gt;&amp;lt;?=&lt;/span&gt;&lt;span style=&quot;color: #dcdcaa;&quot;&gt;session&lt;/span&gt;()-&amp;gt;&lt;span style=&quot;color: #dcdcaa;&quot;&gt;getFlashdata&lt;/span&gt;(&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;message&#39;&lt;/span&gt;) &lt;span style=&quot;color: #569cd6;&quot;&gt;?&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;                &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;div&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;            &lt;span style=&quot;color: #569cd6;&quot;&gt;&amp;lt;?php&lt;/span&gt; } &lt;span style=&quot;color: #569cd6;&quot;&gt;?&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;            &lt;span style=&quot;color: #569cd6;&quot;&gt;&amp;lt;?php&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;$validation&lt;/span&gt; = \Config\&lt;span style=&quot;color: #4ec9b0;&quot;&gt;Services&lt;/span&gt;::&lt;span style=&quot;color: #dcdcaa;&quot;&gt;validation&lt;/span&gt;(); &lt;span style=&quot;color: #569cd6;&quot;&gt;?&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;        &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;div&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;  &lt;/div&gt;&lt;div&gt;           &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;form&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;action&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;&amp;lt;?php&lt;/span&gt; &lt;span style=&quot;color: #dcdcaa;&quot;&gt;echo&lt;/span&gt; &lt;span style=&quot;color: #dcdcaa;&quot;&gt;base_url&lt;/span&gt;(&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;/importdata&#39;&lt;/span&gt;);&lt;span style=&quot;color: #569cd6;&quot;&gt;?&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;method&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;post&quot;&lt;/span&gt; &lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #9cdcfe;&quot;&gt;             enctype&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;multipart/form-data&quot;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;                &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;div&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;class&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;form-group mb-3&quot;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;                    &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;div&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;class&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;mb-3&quot;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;                        &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;input&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;type&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;file&quot;&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;name&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;file&quot;&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;class&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;form-control&quot;&lt;/span&gt; &lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #9cdcfe;&quot;&gt;                         id&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;file&quot;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;                    &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;div&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;                     &lt;/div&gt;&lt;div&gt;                &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;div&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;                &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;div&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;class&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;d-grid&quot;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;                    &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;input&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;type&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;submit&quot;&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;name&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;submit&quot;&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;value&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;Upload&quot;&lt;/span&gt; &lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #9cdcfe;&quot;&gt;                     class&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;btn btn-dark&quot;&lt;/span&gt; &lt;span style=&quot;color: grey;&quot;&gt;/&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;                &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;div&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;            &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;form&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;        &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;div&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;    &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;div&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;div&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;body&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;html&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;p&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;STEP 5- To Define Routes.php&lt;/b&gt;&lt;/p&gt;&lt;div style=&quot;background-color: #1e1e1e; color: #d4d4d4; font-family: &amp;quot;Droid Sans Mono&amp;quot;, &amp;quot;monospace&amp;quot;, monospace; font-size: 14px; line-height: 19px; white-space: pre;&quot;&gt;&lt;div&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;&amp;lt;?php&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;use&lt;/span&gt; CodeIgniter\Router\&lt;span style=&quot;color: #4ec9b0;&quot;&gt;RouteCollection&lt;/span&gt;;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;span style=&quot;color: #6a9955;&quot;&gt;/**&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #6a9955;&quot;&gt; * &lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;@var&lt;/span&gt;&lt;span style=&quot;color: #6a9955;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #4ec9b0;&quot;&gt;RouteCollection&lt;/span&gt;&lt;span style=&quot;color: #6a9955;&quot;&gt; $routes&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #6a9955;&quot;&gt; */&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #6a9955;&quot;&gt;// $routes-&amp;gt;get(&#39;/&#39;, &#39;Home::index&#39;);&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #9cdcfe;&quot;&gt;$routes&lt;/span&gt;-&amp;gt;&lt;span style=&quot;color: #dcdcaa;&quot;&gt;get&lt;/span&gt;(&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;/&#39;&lt;/span&gt;, &lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;ImportController::index&#39;&lt;/span&gt;);&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #9cdcfe;&quot;&gt;$routes&lt;/span&gt;-&amp;gt;&lt;span style=&quot;color: #dcdcaa;&quot;&gt;post&lt;/span&gt;(&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;/importdata&#39;&lt;/span&gt;, &lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;ImportController::importCsvToDb&#39;&lt;/span&gt;);&lt;/div&gt;&lt;br /&gt;&lt;/div&gt;&lt;p&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;STEP 5- To Create Controller&amp;nbsp; ImportController.php:&lt;/b&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;Focus on Just bellow Code Condition which consider numberOfField from csv file.&amp;nbsp;&lt;/b&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;background-color: #1e1e1e; color: #d4d4d4; font-family: &amp;quot;Droid Sans Mono&amp;quot;, &amp;quot;monospace&amp;quot;, monospace; font-size: 14px; white-space: pre;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;background-color: #1e1e1e; color: #9cdcfe; font-family: &amp;quot;Droid Sans Mono&amp;quot;, &amp;quot;monospace&amp;quot;, monospace; font-size: 14px; white-space: pre;&quot;&gt;$numberOfFields&lt;/span&gt;&lt;span style=&quot;background-color: #1e1e1e; color: #d4d4d4; font-family: &amp;quot;Droid Sans Mono&amp;quot;, &amp;quot;monospace&amp;quot;, monospace; font-size: 14px; white-space: pre;&quot;&gt; = &lt;/span&gt;&lt;span style=&quot;background-color: #1e1e1e; color: #b5cea8; font-family: &amp;quot;Droid Sans Mono&amp;quot;, &amp;quot;monospace&amp;quot;, monospace; font-size: 14px; white-space: pre;&quot;&gt;4&lt;/span&gt;&lt;span style=&quot;background-color: #1e1e1e; color: #d4d4d4; font-family: &amp;quot;Droid Sans Mono&amp;quot;, &amp;quot;monospace&amp;quot;, monospace; font-size: 14px; white-space: pre;&quot;&gt;; &lt;/span&gt;&lt;span style=&quot;background-color: #1e1e1e; color: #d4d4d4; font-family: &amp;quot;Droid Sans Mono&amp;quot;, &amp;quot;monospace&amp;quot;, monospace; font-size: 14px; white-space: pre;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;background-color: #1e1e1e; color: #9cdcfe; font-family: &amp;quot;Droid Sans Mono&amp;quot;, &amp;quot;monospace&amp;quot;, monospace; font-size: 14px; white-space: pre;&quot;&gt;$filedata&lt;/span&gt;&lt;span style=&quot;background-color: #1e1e1e; color: #d4d4d4; font-family: &amp;quot;Droid Sans Mono&amp;quot;, &amp;quot;monospace&amp;quot;, monospace; font-size: 14px; white-space: pre;&quot;&gt; = &lt;/span&gt;&lt;span style=&quot;background-color: #1e1e1e; color: #dcdcaa; font-family: &amp;quot;Droid Sans Mono&amp;quot;, &amp;quot;monospace&amp;quot;, monospace; font-size: 14px; white-space: pre;&quot;&gt;fgetcsv&lt;/span&gt;&lt;span style=&quot;background-color: #1e1e1e; color: #d4d4d4; font-family: &amp;quot;Droid Sans Mono&amp;quot;, &amp;quot;monospace&amp;quot;, monospace; font-size: 14px; white-space: pre;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;background-color: #1e1e1e; color: #9cdcfe; font-family: &amp;quot;Droid Sans Mono&amp;quot;, &amp;quot;monospace&amp;quot;, monospace; font-size: 14px; white-space: pre;&quot;&gt;$file&lt;/span&gt;&lt;span style=&quot;background-color: #1e1e1e; color: #d4d4d4; font-family: &amp;quot;Droid Sans Mono&amp;quot;, &amp;quot;monospace&amp;quot;, monospace; font-size: 14px; white-space: pre;&quot;&gt;, &lt;/span&gt;&lt;span style=&quot;background-color: #1e1e1e; color: #b5cea8; font-family: &amp;quot;Droid Sans Mono&amp;quot;, &amp;quot;monospace&amp;quot;, monospace; font-size: 14px; white-space: pre;&quot;&gt;1000&lt;/span&gt;&lt;span style=&quot;background-color: #1e1e1e; color: #d4d4d4; font-family: &amp;quot;Droid Sans Mono&amp;quot;, &amp;quot;monospace&amp;quot;, monospace; font-size: 14px; white-space: pre;&quot;&gt;, &lt;/span&gt;&lt;span style=&quot;background-color: #1e1e1e; color: #ce9178; font-family: &amp;quot;Droid Sans Mono&amp;quot;, &amp;quot;monospace&amp;quot;, monospace; font-size: 14px; white-space: pre;&quot;&gt;&quot;,&quot;&lt;/span&gt;&lt;span style=&quot;background-color: #1e1e1e; color: #d4d4d4; font-family: &amp;quot;Droid Sans Mono&amp;quot;, &amp;quot;monospace&amp;quot;, monospace; font-size: 14px; white-space: pre;&quot;&gt;)) !== &lt;/span&gt;&lt;span style=&quot;background-color: #1e1e1e; color: #569cd6; font-family: &amp;quot;Droid Sans Mono&amp;quot;, &amp;quot;monospace&amp;quot;, monospace; font-size: 14px; white-space: pre;&quot;&gt;FALSE &lt;/span&gt;&lt;span style=&quot;background-color: #1e1e1e; color: #d4d4d4; font-family: &amp;quot;Droid Sans Mono&amp;quot;, &amp;quot;monospace&amp;quot;, monospace; font-size: 14px; white-space: pre;&quot;&gt; &lt;/span&gt;&lt;/p&gt;&lt;div style=&quot;background-color: #1e1e1e; color: #d4d4d4; font-family: &amp;quot;Droid Sans Mono&amp;quot;, &amp;quot;monospace&amp;quot;, monospace; font-size: 14px; line-height: 19px; white-space: pre;&quot;&gt;&lt;div&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;&amp;lt;?php&lt;/span&gt; &lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;namespace&lt;/span&gt; &lt;span style=&quot;color: #4ec9b0;&quot;&gt;App\Controllers&lt;/span&gt;;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;use&lt;/span&gt; CodeIgniter\&lt;span style=&quot;color: #4ec9b0;&quot;&gt;Controller&lt;/span&gt;;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;use&lt;/span&gt; CodeIgniter\HTTP\&lt;span style=&quot;color: #4ec9b0;&quot;&gt;RequestInterface&lt;/span&gt;;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;use&lt;/span&gt; App\Models\&lt;span style=&quot;color: #4ec9b0;&quot;&gt;ImportModel&lt;/span&gt;;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;class&lt;/span&gt; &lt;span style=&quot;color: #4ec9b0;&quot;&gt;ImportController&lt;/span&gt; &lt;span style=&quot;color: #569cd6;&quot;&gt;extends&lt;/span&gt; &lt;span style=&quot;color: #4ec9b0;&quot;&gt;Controller&lt;/span&gt;&lt;/div&gt;&lt;div&gt;{&lt;/div&gt;&lt;div&gt;    &lt;span style=&quot;color: #569cd6;&quot;&gt;public&lt;/span&gt; &lt;span style=&quot;color: #569cd6;&quot;&gt;function&lt;/span&gt; &lt;span style=&quot;color: #dcdcaa;&quot;&gt;index&lt;/span&gt;()&lt;/div&gt;&lt;div&gt;    {&lt;/div&gt;&lt;div&gt;        &lt;span style=&quot;color: #c586c0;&quot;&gt;return&lt;/span&gt; &lt;span style=&quot;color: #dcdcaa;&quot;&gt;view&lt;/span&gt;(&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;index&#39;&lt;/span&gt;);&lt;/div&gt;&lt;div&gt;    }&lt;/div&gt;&lt;div&gt;    &lt;span style=&quot;color: #569cd6;&quot;&gt;public&lt;/span&gt; &lt;span style=&quot;color: #569cd6;&quot;&gt;function&lt;/span&gt; &lt;span style=&quot;color: #dcdcaa;&quot;&gt;importCsvToDb&lt;/span&gt;()&lt;/div&gt;&lt;div&gt;    {&lt;/div&gt;&lt;div&gt;        &lt;span style=&quot;color: #9cdcfe;&quot;&gt;$input&lt;/span&gt; = &lt;span style=&quot;color: #569cd6;&quot;&gt;$this&lt;/span&gt;-&amp;gt;&lt;span style=&quot;color: #dcdcaa;&quot;&gt;validate&lt;/span&gt;([&lt;/div&gt;&lt;div&gt;            &lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;file&#39;&lt;/span&gt; =&amp;gt; &lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;uploaded[file]|max_size[file,2048]|ext_in[file,csv],&#39;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;        ]);&lt;/div&gt;&lt;div&gt;        &lt;span style=&quot;color: #c586c0;&quot;&gt;if&lt;/span&gt; (!&lt;span style=&quot;color: #9cdcfe;&quot;&gt;$input&lt;/span&gt;) {&lt;/div&gt;&lt;div&gt;            &lt;span style=&quot;color: #9cdcfe;&quot;&gt;$data&lt;/span&gt;[&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;validation&#39;&lt;/span&gt;] = &lt;span style=&quot;color: #569cd6;&quot;&gt;$this&lt;/span&gt;-&amp;gt;&lt;span style=&quot;color: #9cdcfe;&quot;&gt;validator&lt;/span&gt;;&lt;/div&gt;&lt;div&gt;            &lt;span style=&quot;color: #c586c0;&quot;&gt;return&lt;/span&gt; &lt;span style=&quot;color: #dcdcaa;&quot;&gt;view&lt;/span&gt;(&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;index&#39;&lt;/span&gt;, &lt;span style=&quot;color: #9cdcfe;&quot;&gt;$data&lt;/span&gt;); &lt;/div&gt;&lt;div&gt;        }&lt;span style=&quot;color: #c586c0;&quot;&gt;else&lt;/span&gt;{&lt;/div&gt;&lt;div&gt;            &lt;span style=&quot;color: #c586c0;&quot;&gt;if&lt;/span&gt;(&lt;span style=&quot;color: #9cdcfe;&quot;&gt;$file&lt;/span&gt; = &lt;span style=&quot;color: #569cd6;&quot;&gt;$this&lt;/span&gt;-&amp;gt;&lt;span style=&quot;color: #9cdcfe;&quot;&gt;request&lt;/span&gt;-&amp;gt;&lt;span style=&quot;color: #dcdcaa;&quot;&gt;getFile&lt;/span&gt;(&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;file&#39;&lt;/span&gt;)) {&lt;/div&gt;&lt;div&gt;            &lt;span style=&quot;color: #c586c0;&quot;&gt;if&lt;/span&gt; (&lt;span style=&quot;color: #9cdcfe;&quot;&gt;$file&lt;/span&gt;-&amp;gt;&lt;span style=&quot;color: #dcdcaa;&quot;&gt;isValid&lt;/span&gt;() &amp;amp;&amp;amp; ! &lt;span style=&quot;color: #9cdcfe;&quot;&gt;$file&lt;/span&gt;-&amp;gt;&lt;span style=&quot;color: #dcdcaa;&quot;&gt;hasMoved&lt;/span&gt;()) {&lt;/div&gt;&lt;div&gt;                &lt;span style=&quot;color: #9cdcfe;&quot;&gt;$newName&lt;/span&gt; = &lt;span style=&quot;color: #9cdcfe;&quot;&gt;$file&lt;/span&gt;-&amp;gt;&lt;span style=&quot;color: #dcdcaa;&quot;&gt;getRandomName&lt;/span&gt;();&lt;/div&gt;&lt;div&gt;                &lt;span style=&quot;color: #9cdcfe;&quot;&gt;$file&lt;/span&gt;-&amp;gt;&lt;span style=&quot;color: #dcdcaa;&quot;&gt;move&lt;/span&gt;(&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;../public/csvfile&#39;&lt;/span&gt;, &lt;span style=&quot;color: #9cdcfe;&quot;&gt;$newName&lt;/span&gt;);&lt;/div&gt;&lt;div&gt;                &lt;span style=&quot;color: #9cdcfe;&quot;&gt;$file&lt;/span&gt; = &lt;span style=&quot;color: #dcdcaa;&quot;&gt;fopen&lt;/span&gt;(&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;../public/csvfile/&quot;&lt;/span&gt;.&lt;span style=&quot;color: #9cdcfe;&quot;&gt;$newName&lt;/span&gt;,&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;r&quot;&lt;/span&gt;);&lt;/div&gt;&lt;div&gt;                &lt;span style=&quot;color: #9cdcfe;&quot;&gt;$i&lt;/span&gt; = &lt;span style=&quot;color: #b5cea8;&quot;&gt;0&lt;/span&gt;;&lt;/div&gt;&lt;div&gt;                &lt;span style=&quot;color: #9cdcfe;&quot;&gt;$numberOfFields&lt;/span&gt; = &lt;span style=&quot;color: #b5cea8;&quot;&gt;4&lt;/span&gt;;&lt;/div&gt;&lt;div&gt;                &lt;span style=&quot;color: #9cdcfe;&quot;&gt;$csvArr&lt;/span&gt; = &lt;span style=&quot;color: #dcdcaa;&quot;&gt;array&lt;/span&gt;();&lt;/div&gt;&lt;div&gt;                &lt;/div&gt;&lt;div&gt;                &lt;span style=&quot;color: #c586c0;&quot;&gt;while&lt;/span&gt; ((&lt;span style=&quot;color: #9cdcfe;&quot;&gt;$filedata&lt;/span&gt; = &lt;span style=&quot;color: #dcdcaa;&quot;&gt;fgetcsv&lt;/span&gt;(&lt;span style=&quot;color: #9cdcfe;&quot;&gt;$file&lt;/span&gt;, &lt;span style=&quot;color: #b5cea8;&quot;&gt;1000&lt;/span&gt;, &lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;,&quot;&lt;/span&gt;)) !== &lt;span style=&quot;color: #569cd6;&quot;&gt;FALSE&lt;/span&gt;) {&lt;/div&gt;&lt;div&gt;                    &lt;span style=&quot;color: #9cdcfe;&quot;&gt;$num&lt;/span&gt; = &lt;span style=&quot;color: #dcdcaa;&quot;&gt;count&lt;/span&gt;(&lt;span style=&quot;color: #9cdcfe;&quot;&gt;$filedata&lt;/span&gt;);&lt;/div&gt;&lt;div&gt;                    &lt;span style=&quot;color: #c586c0;&quot;&gt;if&lt;/span&gt;(&lt;span style=&quot;color: #9cdcfe;&quot;&gt;$i&lt;/span&gt; &amp;gt; &lt;span style=&quot;color: #b5cea8;&quot;&gt;0&lt;/span&gt; &amp;amp;&amp;amp; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;$num&lt;/span&gt; == &lt;span style=&quot;color: #9cdcfe;&quot;&gt;$numberOfFields&lt;/span&gt;){ &lt;/div&gt;&lt;div&gt;                        &lt;span style=&quot;color: #9cdcfe;&quot;&gt;$csvArr&lt;/span&gt;[&lt;span style=&quot;color: #9cdcfe;&quot;&gt;$i&lt;/span&gt;][&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;name&#39;&lt;/span&gt;] = &lt;span style=&quot;color: #9cdcfe;&quot;&gt;$filedata&lt;/span&gt;[&lt;span style=&quot;color: #b5cea8;&quot;&gt;0&lt;/span&gt;];&lt;/div&gt;&lt;div&gt;                        &lt;span style=&quot;color: #9cdcfe;&quot;&gt;$csvArr&lt;/span&gt;[&lt;span style=&quot;color: #9cdcfe;&quot;&gt;$i&lt;/span&gt;][&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;email&#39;&lt;/span&gt;] = &lt;span style=&quot;color: #9cdcfe;&quot;&gt;$filedata&lt;/span&gt;[&lt;span style=&quot;color: #b5cea8;&quot;&gt;1&lt;/span&gt;];&lt;/div&gt;&lt;div&gt;                        &lt;span style=&quot;color: #9cdcfe;&quot;&gt;$csvArr&lt;/span&gt;[&lt;span style=&quot;color: #9cdcfe;&quot;&gt;$i&lt;/span&gt;][&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;phone&#39;&lt;/span&gt;] = &lt;span style=&quot;color: #9cdcfe;&quot;&gt;$filedata&lt;/span&gt;[&lt;span style=&quot;color: #b5cea8;&quot;&gt;2&lt;/span&gt;];&lt;/div&gt;&lt;div&gt;                        &lt;span style=&quot;color: #9cdcfe;&quot;&gt;$csvArr&lt;/span&gt;[&lt;span style=&quot;color: #9cdcfe;&quot;&gt;$i&lt;/span&gt;][&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;created_at&#39;&lt;/span&gt;] = &lt;span style=&quot;color: #9cdcfe;&quot;&gt;$filedata&lt;/span&gt;[&lt;span style=&quot;color: #b5cea8;&quot;&gt;3&lt;/span&gt;];&lt;/div&gt;&lt;div&gt;                    }&lt;/div&gt;&lt;div&gt;                    &lt;span style=&quot;color: #9cdcfe;&quot;&gt;$i&lt;/span&gt;++;&lt;/div&gt;&lt;div&gt;                }&lt;/div&gt;&lt;div&gt;                &lt;span style=&quot;color: #dcdcaa;&quot;&gt;fclose&lt;/span&gt;(&lt;span style=&quot;color: #9cdcfe;&quot;&gt;$file&lt;/span&gt;);&lt;/div&gt;&lt;div&gt;                &lt;span style=&quot;color: #9cdcfe;&quot;&gt;$count&lt;/span&gt; = &lt;span style=&quot;color: #b5cea8;&quot;&gt;0&lt;/span&gt;;&lt;/div&gt;&lt;div&gt;                &lt;span style=&quot;color: #c586c0;&quot;&gt;foreach&lt;/span&gt;(&lt;span style=&quot;color: #9cdcfe;&quot;&gt;$csvArr&lt;/span&gt; as &lt;span style=&quot;color: #9cdcfe;&quot;&gt;$userdata&lt;/span&gt;){&lt;/div&gt;&lt;div&gt;                    &lt;span style=&quot;color: #9cdcfe;&quot;&gt;$students&lt;/span&gt; = &lt;span style=&quot;color: #569cd6;&quot;&gt;new&lt;/span&gt; &lt;span style=&quot;color: #4ec9b0;&quot;&gt;ImportModel&lt;/span&gt;();&lt;/div&gt;&lt;div&gt;                    &lt;span style=&quot;color: #9cdcfe;&quot;&gt;$findRecord&lt;/span&gt; = &lt;span style=&quot;color: #9cdcfe;&quot;&gt;$students&lt;/span&gt;-&amp;gt;&lt;span style=&quot;color: #dcdcaa;&quot;&gt;where&lt;/span&gt;(&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;email&#39;&lt;/span&gt;, &lt;span style=&quot;color: #9cdcfe;&quot;&gt;$userdata&lt;/span&gt;[&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;email&#39;&lt;/span&gt;])-&amp;gt;&lt;span style=&quot;color: #dcdcaa;&quot;&gt;countAllResults&lt;/span&gt;();&lt;/div&gt;&lt;div&gt;                    &lt;span style=&quot;color: #c586c0;&quot;&gt;if&lt;/span&gt;(&lt;span style=&quot;color: #9cdcfe;&quot;&gt;$findRecord&lt;/span&gt; == &lt;span style=&quot;color: #b5cea8;&quot;&gt;0&lt;/span&gt;){&lt;/div&gt;&lt;div&gt;                        &lt;span style=&quot;color: #c586c0;&quot;&gt;if&lt;/span&gt;(&lt;span style=&quot;color: #9cdcfe;&quot;&gt;$students&lt;/span&gt;-&amp;gt;&lt;span style=&quot;color: #dcdcaa;&quot;&gt;insert&lt;/span&gt;(&lt;span style=&quot;color: #9cdcfe;&quot;&gt;$userdata&lt;/span&gt;)){&lt;/div&gt;&lt;div&gt;                            &lt;span style=&quot;color: #9cdcfe;&quot;&gt;$count&lt;/span&gt;++;&lt;/div&gt;&lt;div&gt;                        }&lt;/div&gt;&lt;div&gt;                    }&lt;/div&gt;&lt;div&gt;                }&lt;/div&gt;&lt;div&gt;                &lt;span style=&quot;color: #dcdcaa;&quot;&gt;session&lt;/span&gt;()-&amp;gt;&lt;span style=&quot;color: #dcdcaa;&quot;&gt;setFlashdata&lt;/span&gt;(&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;message&#39;&lt;/span&gt;, &lt;span style=&quot;color: #9cdcfe;&quot;&gt;$count&lt;/span&gt;.&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39; rows successfully added.&#39;&lt;/span&gt;);&lt;/div&gt;&lt;div&gt;                &lt;span style=&quot;color: #dcdcaa;&quot;&gt;session&lt;/span&gt;()-&amp;gt;&lt;span style=&quot;color: #dcdcaa;&quot;&gt;setFlashdata&lt;/span&gt;(&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;alert-class&#39;&lt;/span&gt;, &lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;alert-success&#39;&lt;/span&gt;);&lt;/div&gt;&lt;div&gt;            }&lt;/div&gt;&lt;div&gt;            &lt;span style=&quot;color: #c586c0;&quot;&gt;else&lt;/span&gt;{&lt;/div&gt;&lt;div&gt;                &lt;span style=&quot;color: #dcdcaa;&quot;&gt;session&lt;/span&gt;()-&amp;gt;&lt;span style=&quot;color: #dcdcaa;&quot;&gt;setFlashdata&lt;/span&gt;(&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;message&#39;&lt;/span&gt;, &lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;CSV file coud not be imported.&#39;&lt;/span&gt;);&lt;/div&gt;&lt;div&gt;                &lt;span style=&quot;color: #dcdcaa;&quot;&gt;session&lt;/span&gt;()-&amp;gt;&lt;span style=&quot;color: #dcdcaa;&quot;&gt;setFlashdata&lt;/span&gt;(&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;alert-class&#39;&lt;/span&gt;, &lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;alert-danger&#39;&lt;/span&gt;);&lt;/div&gt;&lt;div&gt;            }&lt;/div&gt;&lt;div&gt;            }&lt;span style=&quot;color: #c586c0;&quot;&gt;else&lt;/span&gt;{&lt;/div&gt;&lt;div&gt;            &lt;span style=&quot;color: #dcdcaa;&quot;&gt;session&lt;/span&gt;()-&amp;gt;&lt;span style=&quot;color: #dcdcaa;&quot;&gt;setFlashdata&lt;/span&gt;(&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;message&#39;&lt;/span&gt;, &lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;CSV file coud not be imported.&#39;&lt;/span&gt;);&lt;/div&gt;&lt;div&gt;            &lt;span style=&quot;color: #dcdcaa;&quot;&gt;session&lt;/span&gt;()-&amp;gt;&lt;span style=&quot;color: #dcdcaa;&quot;&gt;setFlashdata&lt;/span&gt;(&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;alert-class&#39;&lt;/span&gt;, &lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;alert-danger&#39;&lt;/span&gt;);&lt;/div&gt;&lt;div&gt;            }&lt;/div&gt;&lt;div&gt;        }&lt;/div&gt;&lt;div&gt;        &lt;span style=&quot;color: #c586c0;&quot;&gt;return&lt;/span&gt; &lt;span style=&quot;color: #dcdcaa;&quot;&gt;redirect&lt;/span&gt;()-&amp;gt;&lt;span style=&quot;color: #dcdcaa;&quot;&gt;route&lt;/span&gt;(&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;/&#39;&lt;/span&gt;);         &lt;/div&gt;&lt;div&gt;    }&lt;/div&gt;&lt;div&gt;}&lt;/div&gt;&lt;/div&gt;&lt;p&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;STEP 5- To Define Routes.php&lt;/b&gt;&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='https://technicalstudyon.blogspot.com/feeds/1242311655646244862/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://technicalstudyon.blogspot.com/2023/09/import-csv-data-using-codeigniter-four.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/1905934111533627271/posts/default/1242311655646244862'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/1905934111533627271/posts/default/1242311655646244862'/><link rel='alternate' type='text/html' href='https://technicalstudyon.blogspot.com/2023/09/import-csv-data-using-codeigniter-four.html' title='IMPORT CSV DATA USING CODEIGNITER FOUR'/><author><name>Technicalstudy</name><uri>http://www.blogger.com/profile/17694642546870276675</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1905934111533627271.post-3998159917201957967</id><published>2023-09-15T12:49:00.008+05:30</published><updated>2023-09-19T21:12:58.474+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="CodeIngniter 4"/><category scheme="http://www.blogger.com/atom/ns#" term="Javascript &amp; jQuery"/><title type='text'>AJAX CRUD  WITH  DATATABLE AND JQUERY</title><content type='html'>&lt;p&gt;&lt;b&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;- AJAX CRUD WITH DATATABLE&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;WITH JQUERY&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&amp;nbsp;&amp;nbsp;-&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;&lt;/b&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;b&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh42MZp7-RBwCwhLYSsq0Lqdnmu3nGVU4TJZYE-IvhvyagPch8yHMoOpZGHcWx3HFgVhcXYLCDQPKFrg2KaPQBRUIpTqkAplfClSawMZVGYrmRB-mTXkZW8SjgwQYjvt04X5Z8Sq3gS2EvUJfIvOSc650bLUl4E5tbzWJxNrx5i17wCfTm9By53PrH6FVU/s1154/Screenshot%20from%202023-09-15%2012-47-03.png&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;940&quot; data-original-width=&quot;1154&quot; height=&quot;347&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh42MZp7-RBwCwhLYSsq0Lqdnmu3nGVU4TJZYE-IvhvyagPch8yHMoOpZGHcWx3HFgVhcXYLCDQPKFrg2KaPQBRUIpTqkAplfClSawMZVGYrmRB-mTXkZW8SjgwQYjvt04X5Z8Sq3gS2EvUJfIvOSc650bLUl4E5tbzWJxNrx5i17wCfTm9By53PrH6FVU/w426-h347/Screenshot%20from%202023-09-15%2012-47-03.png&quot; width=&quot;426&quot; /&gt;&lt;/a&gt;&lt;/b&gt;&lt;/div&gt;&lt;b&gt;&lt;br /&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;Step 0- Env&amp;nbsp; and Database.php&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;File&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;database -&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;env-&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;&lt;div style=&quot;background-color: #1e1e1e; color: #d4d4d4; font-family: &amp;quot;Droid Sans Mono&amp;quot;, &amp;quot;monospace&amp;quot;, monospace; font-size: 14px; line-height: 19px; white-space: pre;&quot;&gt;&lt;div&gt;#--------------------------------------------------------------------&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #569cd6; font-weight: bold;&quot;&gt;# APP&lt;/span&gt;&lt;/div&gt;&lt;div&gt;#--------------------------------------------------------------------&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;span style=&quot;color: #569cd6; font-weight: bold;&quot;&gt;# app.baseURL = &#39;&#39;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #569cd6; font-weight: bold;&quot;&gt;# If you have trouble with &lt;/span&gt;&lt;span style=&quot;color: #ce9178; font-weight: bold;&quot;&gt;`.`&lt;/span&gt;&lt;span style=&quot;color: #569cd6; font-weight: bold;&quot;&gt;, you could also use &lt;/span&gt;&lt;span style=&quot;color: #ce9178; font-weight: bold;&quot;&gt;`_`&lt;/span&gt;&lt;span style=&quot;color: #569cd6; font-weight: bold;&quot;&gt;.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #569cd6; font-weight: bold;&quot;&gt;# app_baseURL = &#39;&#39;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #569cd6; font-weight: bold;&quot;&gt;# app.forceGlobalSecureRequests = false&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #569cd6; font-weight: bold;&quot;&gt;# app.CSPEnabled = false&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;#--------------------------------------------------------------------&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #569cd6; font-weight: bold;&quot;&gt;# DATABASE&lt;/span&gt;&lt;/div&gt;&lt;div&gt;#--------------------------------------------------------------------&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;span style=&quot;color: #569cd6; font-weight: bold;&quot;&gt;# database.default.hostname = localhost&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #569cd6; font-weight: bold;&quot;&gt;# database.default.database = ajaxcrud&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #569cd6; font-weight: bold;&quot;&gt;# database.default.username = root&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #569cd6; font-weight: bold;&quot;&gt;# database.default.password = root&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #569cd6; font-weight: bold;&quot;&gt;# database.default.DBDriver = MySQLi&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #569cd6; font-weight: bold;&quot;&gt;# database.default.DBPrefix =&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #569cd6; font-weight: bold;&quot;&gt;# database.default.port = 3306&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;span style=&quot;color: #569cd6; font-weight: bold;&quot;&gt;# database.tests.hostname = localhost&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #569cd6; font-weight: bold;&quot;&gt;# database.tests.database = ci4_test&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #569cd6; font-weight: bold;&quot;&gt;# database.tests.username = root&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #569cd6; font-weight: bold;&quot;&gt;# database.tests.password = root&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #569cd6; font-weight: bold;&quot;&gt;# database.tests.DBDriver = MySQLi&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #569cd6; font-weight: bold;&quot;&gt;# database.tests.DBPrefix =&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #569cd6; font-weight: bold;&quot;&gt;# database.tests.port = 3306&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;#--------------------------------------------------------------------&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #569cd6; font-weight: bold;&quot;&gt;# CONTENT SECURITY POLICY&lt;/span&gt;&lt;/div&gt;&lt;div&gt;#--------------------------------------------------------------------&lt;/div&gt;&lt;/div&gt;&lt;p&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;b&gt;Database-&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style=&quot;background-color: #1e1e1e; color: #d4d4d4; font-family: &amp;quot;Droid Sans Mono&amp;quot;, &amp;quot;monospace&amp;quot;, monospace; font-size: 14px; line-height: 19px; white-space: pre;&quot;&gt;&lt;div&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;&amp;lt;?php&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;namespace&lt;/span&gt; &lt;span style=&quot;color: #4ec9b0;&quot;&gt;Config&lt;/span&gt;;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;use&lt;/span&gt; CodeIgniter\Database\&lt;span style=&quot;color: #4ec9b0;&quot;&gt;Config&lt;/span&gt;;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;span style=&quot;color: #6a9955;&quot;&gt;/**&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #6a9955;&quot;&gt; * Database Configuration&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #6a9955;&quot;&gt; */&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;class&lt;/span&gt; &lt;span style=&quot;color: #4ec9b0;&quot;&gt;Database&lt;/span&gt; &lt;span style=&quot;color: #569cd6;&quot;&gt;extends&lt;/span&gt; &lt;span style=&quot;color: #4ec9b0;&quot;&gt;Config&lt;/span&gt;&lt;/div&gt;&lt;div&gt;{&lt;/div&gt;&lt;div&gt;    &lt;span style=&quot;color: #6a9955;&quot;&gt;/**&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #6a9955;&quot;&gt;     * The directory that holds the Migrations&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #6a9955;&quot;&gt;     * and Seeds directories.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #6a9955;&quot;&gt;     */&lt;/span&gt;&lt;/div&gt;&lt;div&gt;    &lt;span style=&quot;color: #569cd6;&quot;&gt;public&lt;/span&gt; &lt;span style=&quot;color: #569cd6;&quot;&gt;string&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;$filesPath&lt;/span&gt; = APPPATH . &lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;Database&#39;&lt;/span&gt; . DIRECTORY_SEPARATOR;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;    &lt;span style=&quot;color: #6a9955;&quot;&gt;/**&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #6a9955;&quot;&gt;     * Lets you choose which connection group to&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #6a9955;&quot;&gt;     * use if no other is specified.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #6a9955;&quot;&gt;     */&lt;/span&gt;&lt;/div&gt;&lt;div&gt;    &lt;span style=&quot;color: #569cd6;&quot;&gt;public&lt;/span&gt; &lt;span style=&quot;color: #569cd6;&quot;&gt;string&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;$defaultGroup&lt;/span&gt; = &lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;default&#39;&lt;/span&gt;;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;    &lt;span style=&quot;color: #6a9955;&quot;&gt;/**&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #6a9955;&quot;&gt;     * The default database connection.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #6a9955;&quot;&gt;     */&lt;/span&gt;&lt;/div&gt;&lt;div&gt;    &lt;span style=&quot;color: #569cd6;&quot;&gt;public&lt;/span&gt; &lt;span style=&quot;color: #569cd6;&quot;&gt;array&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;$default&lt;/span&gt; = [&lt;/div&gt;&lt;div&gt;        &lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;DSN&#39;&lt;/span&gt;          =&amp;gt; &lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;&#39;&lt;/span&gt;,&lt;/div&gt;&lt;div&gt;        &lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;hostname&#39;&lt;/span&gt;     =&amp;gt; &lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;localhost&#39;&lt;/span&gt;,&lt;/div&gt;&lt;div&gt;        &lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;username&#39;&lt;/span&gt;     =&amp;gt; &lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;root&#39;&lt;/span&gt;,&lt;/div&gt;&lt;div&gt;        &lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;password&#39;&lt;/span&gt;     =&amp;gt; &lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;root&#39;&lt;/span&gt;,&lt;/div&gt;&lt;div&gt;        &lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;database&#39;&lt;/span&gt;     =&amp;gt; &lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;ajaxcrud&#39;&lt;/span&gt;,&lt;/div&gt;&lt;div&gt;        &lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;DBDriver&#39;&lt;/span&gt;     =&amp;gt; &lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;MySQLi&#39;&lt;/span&gt;,&lt;/div&gt;&lt;div&gt;        &lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;DBPrefix&#39;&lt;/span&gt;     =&amp;gt; &lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;&#39;&lt;/span&gt;,&lt;/div&gt;&lt;div&gt;        &lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;pConnect&#39;&lt;/span&gt;     =&amp;gt; &lt;span style=&quot;color: #569cd6;&quot;&gt;false&lt;/span&gt;,&lt;/div&gt;&lt;div&gt;        &lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;DBDebug&#39;&lt;/span&gt;      =&amp;gt; &lt;span style=&quot;color: #569cd6;&quot;&gt;true&lt;/span&gt;,&lt;/div&gt;&lt;div&gt;        &lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;charset&#39;&lt;/span&gt;      =&amp;gt; &lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;utf8&#39;&lt;/span&gt;,&lt;/div&gt;&lt;div&gt;        &lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;DBCollat&#39;&lt;/span&gt;     =&amp;gt; &lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;utf8_general_ci&#39;&lt;/span&gt;,&lt;/div&gt;&lt;div&gt;        &lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;swapPre&#39;&lt;/span&gt;      =&amp;gt; &lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;&#39;&lt;/span&gt;,&lt;/div&gt;&lt;div&gt;        &lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;encrypt&#39;&lt;/span&gt;      =&amp;gt; &lt;span style=&quot;color: #569cd6;&quot;&gt;false&lt;/span&gt;,&lt;/div&gt;&lt;div&gt;        &lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;compress&#39;&lt;/span&gt;     =&amp;gt; &lt;span style=&quot;color: #569cd6;&quot;&gt;false&lt;/span&gt;,&lt;/div&gt;&lt;div&gt;        &lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;strictOn&#39;&lt;/span&gt;     =&amp;gt; &lt;span style=&quot;color: #569cd6;&quot;&gt;false&lt;/span&gt;,&lt;/div&gt;&lt;div&gt;        &lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;failover&#39;&lt;/span&gt;     =&amp;gt; [],&lt;/div&gt;&lt;div&gt;        &lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;port&#39;&lt;/span&gt;         =&amp;gt; &lt;span style=&quot;color: #b5cea8;&quot;&gt;3306&lt;/span&gt;,&lt;/div&gt;&lt;div&gt;        &lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;numberNative&#39;&lt;/span&gt; =&amp;gt; &lt;span style=&quot;color: #569cd6;&quot;&gt;false&lt;/span&gt;,&lt;/div&gt;&lt;div&gt;    ];&lt;/div&gt;&lt;br /&gt;&lt;div&gt;    &lt;span style=&quot;color: #6a9955;&quot;&gt;/**&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #6a9955;&quot;&gt;     * This database connection is used when&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #6a9955;&quot;&gt;     * running PHPUnit database tests.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #6a9955;&quot;&gt;     */&lt;/span&gt;&lt;/div&gt;&lt;div&gt;    &lt;span style=&quot;color: #569cd6;&quot;&gt;public&lt;/span&gt; &lt;span style=&quot;color: #569cd6;&quot;&gt;array&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;$tests&lt;/span&gt; = [&lt;/div&gt;&lt;div&gt;        &lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;DSN&#39;&lt;/span&gt;         =&amp;gt; &lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;&#39;&lt;/span&gt;,&lt;/div&gt;&lt;div&gt;        &lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;hostname&#39;&lt;/span&gt;    =&amp;gt; &lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;127.0.0.1&#39;&lt;/span&gt;,&lt;/div&gt;&lt;div&gt;        &lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;username&#39;&lt;/span&gt;    =&amp;gt; &lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;&#39;&lt;/span&gt;,&lt;/div&gt;&lt;div&gt;        &lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;password&#39;&lt;/span&gt;    =&amp;gt; &lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;&#39;&lt;/span&gt;,&lt;/div&gt;&lt;div&gt;        &lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;database&#39;&lt;/span&gt;    =&amp;gt; &lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;:memory:&#39;&lt;/span&gt;,&lt;/div&gt;&lt;div&gt;        &lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;DBDriver&#39;&lt;/span&gt;    =&amp;gt; &lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;SQLite3&#39;&lt;/span&gt;,&lt;/div&gt;&lt;div&gt;        &lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;DBPrefix&#39;&lt;/span&gt;    =&amp;gt; &lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;db_&#39;&lt;/span&gt;,  &lt;span style=&quot;color: #6a9955;&quot;&gt;// Needed to ensure we&#39;re working correctly with prefixes live. DO NOT REMOVE FOR CI DEVS&lt;/span&gt;&lt;/div&gt;&lt;div&gt;        &lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;pConnect&#39;&lt;/span&gt;    =&amp;gt; &lt;span style=&quot;color: #569cd6;&quot;&gt;false&lt;/span&gt;,&lt;/div&gt;&lt;div&gt;        &lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;DBDebug&#39;&lt;/span&gt;     =&amp;gt; &lt;span style=&quot;color: #569cd6;&quot;&gt;true&lt;/span&gt;,&lt;/div&gt;&lt;div&gt;        &lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;charset&#39;&lt;/span&gt;     =&amp;gt; &lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;utf8&#39;&lt;/span&gt;,&lt;/div&gt;&lt;div&gt;        &lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;DBCollat&#39;&lt;/span&gt;    =&amp;gt; &lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;utf8_general_ci&#39;&lt;/span&gt;,&lt;/div&gt;&lt;div&gt;        &lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;swapPre&#39;&lt;/span&gt;     =&amp;gt; &lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;&#39;&lt;/span&gt;,&lt;/div&gt;&lt;div&gt;        &lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;encrypt&#39;&lt;/span&gt;     =&amp;gt; &lt;span style=&quot;color: #569cd6;&quot;&gt;false&lt;/span&gt;,&lt;/div&gt;&lt;div&gt;        &lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;compress&#39;&lt;/span&gt;    =&amp;gt; &lt;span style=&quot;color: #569cd6;&quot;&gt;false&lt;/span&gt;,&lt;/div&gt;&lt;div&gt;        &lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;strictOn&#39;&lt;/span&gt;    =&amp;gt; &lt;span style=&quot;color: #569cd6;&quot;&gt;false&lt;/span&gt;,&lt;/div&gt;&lt;div&gt;        &lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;failover&#39;&lt;/span&gt;    =&amp;gt; [],&lt;/div&gt;&lt;div&gt;        &lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;port&#39;&lt;/span&gt;        =&amp;gt; &lt;span style=&quot;color: #b5cea8;&quot;&gt;3306&lt;/span&gt;,&lt;/div&gt;&lt;div&gt;        &lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;foreignKeys&#39;&lt;/span&gt; =&amp;gt; &lt;span style=&quot;color: #569cd6;&quot;&gt;true&lt;/span&gt;,&lt;/div&gt;&lt;div&gt;        &lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;busyTimeout&#39;&lt;/span&gt; =&amp;gt; &lt;span style=&quot;color: #b5cea8;&quot;&gt;1000&lt;/span&gt;,&lt;/div&gt;&lt;div&gt;    ];&lt;/div&gt;&lt;br /&gt;&lt;/div&gt;&lt;p&gt;&lt;b&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;Step 1-&amp;nbsp; Define base url is app/config/App.php&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;&lt;div style=&quot;background-color: #1e1e1e; color: #d4d4d4; font-family: &amp;quot;Droid Sans Mono&amp;quot;, &amp;quot;monospace&amp;quot;, monospace; font-size: 14px; line-height: 19px; white-space: pre;&quot;&gt;&lt;div&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;&amp;lt;?php&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;namespace&lt;/span&gt; &lt;span style=&quot;color: #4ec9b0;&quot;&gt;Config&lt;/span&gt;;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;use&lt;/span&gt; CodeIgniter\Config\&lt;span style=&quot;color: #4ec9b0;&quot;&gt;BaseConfig&lt;/span&gt;;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;class&lt;/span&gt; &lt;span style=&quot;color: #4ec9b0;&quot;&gt;App&lt;/span&gt; &lt;span style=&quot;color: #569cd6;&quot;&gt;extends&lt;/span&gt; &lt;span style=&quot;color: #4ec9b0;&quot;&gt;BaseConfig&lt;/span&gt;&lt;/div&gt;&lt;div&gt;{&lt;/div&gt;&lt;div&gt;    &lt;span style=&quot;color: #6a9955;&quot;&gt;/**&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #6a9955;&quot;&gt;     * --------------------------------------------------------------------------&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #6a9955;&quot;&gt;     * Base Site URL&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #6a9955;&quot;&gt;     * --------------------------------------------------------------------------&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #6a9955;&quot;&gt;     *&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #6a9955;&quot;&gt;     * URL to your CodeIgniter root. Typically, this will be your base URL,&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #6a9955;&quot;&gt;     * WITH a trailing slash:&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #6a9955;&quot;&gt;     *&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #6a9955;&quot;&gt;     *    http://example.com/&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #6a9955;&quot;&gt;     */&lt;/span&gt;&lt;/div&gt;&lt;div&gt;    &lt;span style=&quot;color: #569cd6;&quot;&gt;public&lt;/span&gt; &lt;span style=&quot;color: #569cd6;&quot;&gt;string&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;$baseURL&lt;/span&gt; = &lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;http://127.0.0.1/ajaxcrud/public/&#39;&lt;/span&gt;;&lt;/div&gt;&lt;br /&gt;&lt;/div&gt;&lt;p&gt;&lt;b&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;Step 2-&amp;nbsp; Create view welcome_message.php&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;&lt;div style=&quot;background-color: #1e1e1e; color: #d4d4d4; font-family: &amp;quot;Droid Sans Mono&amp;quot;, &amp;quot;monospace&amp;quot;, monospace; font-size: 14px; line-height: 19px; white-space: pre;&quot;&gt;&lt;div&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;!&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;DOCTYPE&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;html&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;html&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;lang&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;en&quot;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;head&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;    &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;meta&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;charset&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;UTF-8&quot;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;    &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;meta&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;http-equiv&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;X-UA-Compatible&quot;&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;content&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;IE=edge&quot;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;    &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;meta&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;name&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;viewport&quot;&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;content&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;width=device-width, initial-scale=1.0&quot;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;    &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;title&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;Document&lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;title&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;    &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;link&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;rel&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;stylesheet&quot;&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;href&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;https://cdn.datatables.net/1.13.6/css/jquery.dataTables.css&quot;&lt;/span&gt; &lt;span style=&quot;color: grey;&quot;&gt;/&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;    &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;script&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;src&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;https://ajax.googleapis.com/ajax/libs/jquery/3.6.4/jquery.min.js&quot;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;script&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;    &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;link&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;rel&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;stylesheet&quot;&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;href&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;https://cdn.jsdelivr.net/npm/bootstrap@4.0.0/dist/css/bootstrap.min.css&quot;&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;integrity&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm&quot;&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;crossorigin&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;anonymous&quot;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;    &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;script&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;src&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;https://cdn.jsdelivr.net/npm/popper.js@1.12.9/dist/umd/popper.min.js&quot;&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;integrity&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;sha384-ApNbgh9B+Y1QKtv3Rn7W3mgPxhU9K/ScQsAP7hUibX39j7fakFPskvXusvfa0b4Q&quot;&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;crossorigin&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;anonymous&quot;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;script&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;    &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;script&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;src&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;https://cdn.jsdelivr.net/npm/bootstrap@4.0.0/dist/js/bootstrap.min.js&quot;&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;integrity&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;sha384-JZR6Spejh4U02d8jOt6vLEHfe/JQGiRRSQQxSfFWpi1MquVdAyjUar5+76PVCmYl&quot;&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;crossorigin&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;anonymous&quot;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;script&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;  &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;style&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;    &lt;span style=&quot;color: #d7ba7d;&quot;&gt;a:hover&lt;/span&gt;{&lt;/div&gt;&lt;div&gt;            &lt;span style=&quot;color: #9cdcfe;&quot;&gt;text-decoration&lt;/span&gt;:&lt;span style=&quot;color: #ce9178;&quot;&gt;none&lt;/span&gt;;&lt;/div&gt;&lt;div&gt;          }&lt;/div&gt;&lt;div&gt;  &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;style&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;head&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;body&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;span style=&quot;color: #6a9955;&quot;&gt;&amp;lt;!-- student Modal --&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;div&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;class&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;modal fade&quot;&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;id&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;studentModal&quot;&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;url&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;&amp;lt;?=&lt;/span&gt; &lt;span style=&quot;color: #dcdcaa;&quot;&gt;base_url&lt;/span&gt;(&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;/store&#39;&lt;/span&gt;)&lt;span style=&quot;color: #569cd6;&quot;&gt;?&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;tabindex&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;-1&quot;&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;role&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;dialog&quot;&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;aria-labelledby&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;StudentModalLabel&quot;&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;aria-hidden&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;true&quot;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;  &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;div&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;class&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;modal-dialog&quot;&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;role&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;document&quot;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;    &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;div&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;class&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;modal-content&quot;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;      &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;div&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;class&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;modal-header&quot;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;        &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;h5&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;class&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;modal-title&quot;&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;id&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;exampleModalLabel&quot;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;Student Data&lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;h5&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;        &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;button&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;type&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;button&quot;&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;class&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;close&quot;&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;data-dismiss&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;modal&quot;&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;aria-label&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;Close&quot;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;          &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;span&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;aria-hidden&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;true&quot;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;&amp;amp;times;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;span&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;        &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;button&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;      &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;div&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;      &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;div&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;class&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;modal-body&quot;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;        &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;div&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;class&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;form-group&quot;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;            &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;label&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;Full Name&lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;label&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt; &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;span&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;id&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;error_name&quot;&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;class&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;text-danger ms-3&quot;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;span&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;            &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;input&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;type&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;text&quot;&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;class&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;form-control name&quot;&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;placeholder&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot; Enter your Full Name&quot;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;        &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;div&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;        &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;div&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;class&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;form-group&quot;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;            &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;label&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;Email&lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;label&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt; &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;span&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;id&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;error_email&quot;&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;class&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;text-danger ms-3&quot;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;span&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;            &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;input&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;type&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;text&quot;&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;class&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;form-control email&quot;&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;placeholder&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot; Enter your Email &quot;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;        &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;div&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;        &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;div&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;class&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;form-group&quot;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;            &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;label&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;Phone&lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;label&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt; &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;span&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;id&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;error_phone&quot;&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;class&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;text-danger ms-3&quot;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;span&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;            &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;input&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;type&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;text&quot;&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;class&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;form-control phone&quot;&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;placeholder&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot; Enter your Phone Number&quot;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;        &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;div&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;        &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;div&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;class&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;form-group&quot;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;            &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;label&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;Course&lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;label&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt; &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;span&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;id&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;error_course&quot;&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;class&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;text-danger ms-3&quot;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;span&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;            &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;input&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;type&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;text&quot;&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;class&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;form-control course&quot;&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;placeholder&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;Enter Your Course&quot;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;        &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;div&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;      &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;div&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;      &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;div&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;class&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;modal-footer&quot;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;        &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;button&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;type&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;button&quot;&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;class&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;btn btn-secondary&quot;&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;data-dismiss&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;modal&quot;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;Close&lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;button&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;        &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;button&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;type&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;button&quot;&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;class&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;btn btn-primary ajaxstudent-save&quot;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;Save&lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;button&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;      &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;div&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;    &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;div&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;  &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;div&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;div&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;span style=&quot;color: #6a9955;&quot;&gt;&amp;lt;!-- Edit student Modal --&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;div&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;class&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;modal fade&quot;&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;id&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;editstudentModal&quot;&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;url&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;&amp;lt;?=&lt;/span&gt; &lt;span style=&quot;color: #dcdcaa;&quot;&gt;base_url&lt;/span&gt;(&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;/store&#39;&lt;/span&gt;)&lt;span style=&quot;color: #569cd6;&quot;&gt;?&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;tabindex&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;-1&quot;&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;role&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;dialog&quot;&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;aria-labelledby&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;StudentModalLabel&quot;&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;aria-hidden&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;true&quot;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;  &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;div&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;class&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;modal-dialog&quot;&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;role&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;document&quot;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;    &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;div&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;class&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;modal-content&quot;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;      &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;div&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;class&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;modal-header&quot;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;        &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;h5&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;class&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;modal-title&quot;&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;id&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;exampleModalLabel&quot;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;Student Data&lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;h5&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;        &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;button&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;type&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;button&quot;&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;class&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;close&quot;&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;data-dismiss&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;modal&quot;&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;aria-label&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;Close&quot;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;          &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;span&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;aria-hidden&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;true&quot;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;&amp;amp;times;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;span&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;        &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;button&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;      &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;div&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;      &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;div&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;class&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;modal-body&quot;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;        &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;div&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;class&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;form-group&quot;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;            &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;label&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;Full Name&lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;label&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt; &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;span&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;id&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;error_name&quot;&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;class&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;text-danger ms-3&quot;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;span&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;            &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;input&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;type&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;text&quot;&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;id&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;edit_name&quot;&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;class&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;form-control name&quot;&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;placeholder&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot; Enter your Full Name&quot;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;            &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;input&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;type&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;hidden&quot;&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;id&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;edit_id&quot;&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;class&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;form-control stud_id&quot;&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;placeholder&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot; hidden id&quot;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;        &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;div&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;        &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;div&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;class&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;form-group&quot;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;            &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;label&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;Email&lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;label&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt; &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;span&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;id&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;error_email&quot;&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;class&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;text-danger ms-3&quot;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;span&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;            &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;input&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;type&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;text&quot;&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;id&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;edit_email&quot;&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;class&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;form-control email&quot;&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;placeholder&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot; Enter your Email &quot;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;        &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;div&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;        &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;div&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;class&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;form-group&quot;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;            &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;label&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;Phone&lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;label&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt; &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;span&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;id&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;error_phone&quot;&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;class&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;text-danger ms-3&quot;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;span&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;            &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;input&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;type&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;text&quot;&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;id&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;edit_phone&quot;&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;class&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;form-control phone&quot;&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;placeholder&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot; Enter your Phone Number&quot;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;        &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;div&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;        &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;div&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;class&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;form-group&quot;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;            &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;label&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;Course&lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;label&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt; &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;span&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;id&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;error_course&quot;&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;class&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;text-danger ms-3&quot;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;span&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;            &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;input&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;type&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;text&quot;&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;id&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;edit_course&quot;&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;class&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;form-control course&quot;&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;placeholder&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;Enter Your Course&quot;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;        &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;div&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;      &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;div&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;      &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;div&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;class&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;modal-footer&quot;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;        &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;button&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;type&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;button&quot;&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;class&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;btn btn-secondary&quot;&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;data-dismiss&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;modal&quot;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;Close&lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;button&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;        &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;button&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;type&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;button&quot;&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;class&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;btn btn-primary ajaxstudent-update&quot;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;update&lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;button&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;      &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;div&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;    &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;div&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;  &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;div&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;div&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;    &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;div&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;class&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;container mt-4&quot;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;        &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;div&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;class&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;row&quot;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;            &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;h2&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;class&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;font-weight-bold&quot;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;AJAX CRUD OPERATION&lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;h2&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;            &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;input&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;type&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;hidden&quot;&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;id&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;fetch-data&quot;&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;value&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;&amp;lt;?=&lt;/span&gt; &lt;span style=&quot;color: #dcdcaa;&quot;&gt;base_url&lt;/span&gt;(&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;/fetch&#39;&lt;/span&gt;)&lt;span style=&quot;color: #569cd6;&quot;&gt;?&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;            &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;input&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;type&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;hidden&quot;&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;id&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;remove-data&quot;&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;value&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;&amp;lt;?=&lt;/span&gt; &lt;span style=&quot;color: #dcdcaa;&quot;&gt;base_url&lt;/span&gt;(&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;/removedata&#39;&lt;/span&gt;)&lt;span style=&quot;color: #569cd6;&quot;&gt;?&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;            &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;input&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;type&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;hidden&quot;&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;id&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;edit-data&quot;&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;value&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;&amp;lt;?=&lt;/span&gt; &lt;span style=&quot;color: #dcdcaa;&quot;&gt;base_url&lt;/span&gt;(&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;/editdata&#39;&lt;/span&gt;)&lt;span style=&quot;color: #569cd6;&quot;&gt;?&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;            &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;input&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;type&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;hidden&quot;&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;id&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;update-data&quot;&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;value&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;&amp;lt;?=&lt;/span&gt; &lt;span style=&quot;color: #dcdcaa;&quot;&gt;base_url&lt;/span&gt;(&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;/updatedata&#39;&lt;/span&gt;)&lt;span style=&quot;color: #569cd6;&quot;&gt;?&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;        &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;div&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;         &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;div&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;class&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;col-lg-12 mt-4&quot;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;            &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;div&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;class&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;card&quot;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;                &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;div&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;class&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;card-header&quot;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;                    &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;h4&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;                        Jquery Ajax CRUD - Student Data&lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;span&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;a&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;class&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;btn btn-primary m-2&quot;&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;href&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;&amp;lt;?=&lt;/span&gt; &lt;span style=&quot;color: #dcdcaa;&quot;&gt;base_url&lt;/span&gt;(&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;/imgform&#39;&lt;/span&gt;)&lt;span style=&quot;color: #569cd6;&quot;&gt;?&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;Img&lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;a&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;span&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;                        &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;a&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;href&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;#&quot;&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;style&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color: #ce9178;&quot;&gt;margin-left:510px&lt;/span&gt;&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;data-toggle&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;modal&quot;&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;data-target&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;#studentModal&quot;&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;class&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;btn btn-primary float-end&quot;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;Add&lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;a&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;                    &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;h4&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;                &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;div&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;                &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;div&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;class&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;card-body&quot;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;                 &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;table&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;id&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;myTable&quot;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;                    &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;thead&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;                    &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;tr&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;                        &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;th&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;S_ID&lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;th&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;                        &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;th&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;Name&lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;th&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;                        &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;th&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;Email&lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;th&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;                        &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;th&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;Phone&lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;th&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;                        &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;th&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;Course&lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;th&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;                        &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;th&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;Action&lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;th&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;                    &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;tr&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;                    &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;thead&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;                    &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;tbody&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;class&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;studentdata&quot;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;                    &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;tbody&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;                &lt;/div&gt;&lt;div&gt;                 &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;table&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;               &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;div&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;            &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;div&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;            &lt;/div&gt;&lt;div&gt;           &lt;/div&gt;&lt;div&gt;         &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;div&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;    &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;div&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;&lt;/div&gt;&lt;p&gt;&lt;b&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;Step 3- Js on view page&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;&lt;div style=&quot;background-color: #1e1e1e; color: #d4d4d4; font-family: &amp;quot;Droid Sans Mono&amp;quot;, &amp;quot;monospace&amp;quot;, monospace; font-size: 14px; line-height: 19px; white-space: pre;&quot;&gt;&lt;div&gt; &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;script&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;src&lt;/span&gt;=&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;https://cdn.datatables.net/1.13.6/js/jquery.dataTables.js&quot;&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;script&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;      &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;script&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;        &lt;span style=&quot;color: #569cd6;&quot;&gt;function&lt;/span&gt; &lt;span style=&quot;color: #dcdcaa;&quot;&gt;fetchdata&lt;/span&gt;(){&lt;/div&gt;&lt;div style=&quot;line-height: 19px;&quot;&gt;&lt;div&gt;          &lt;span style=&quot;color: #dcdcaa;&quot;&gt;$&lt;/span&gt;(&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;#myTable&#39;&lt;/span&gt;).&lt;span style=&quot;color: #dcdcaa;&quot;&gt;DataTable&lt;/span&gt;({&lt;/div&gt;&lt;div&gt;          &lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;ajax&quot;&lt;/span&gt;&lt;span style=&quot;color: #9cdcfe;&quot;&gt; :&lt;/span&gt; &lt;span style=&quot;color: #dcdcaa;&quot;&gt;$&lt;/span&gt;(&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;#fetch-data&#39;&lt;/span&gt;).&lt;span style=&quot;color: #dcdcaa;&quot;&gt;val&lt;/span&gt;(),&lt;/div&gt;&lt;div&gt;          &lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;columns&quot;&lt;/span&gt;&lt;span style=&quot;color: #9cdcfe;&quot;&gt;:&lt;/span&gt;[&lt;/div&gt;&lt;div&gt;            {&lt;span style=&quot;color: #9cdcfe;&quot;&gt;data:&lt;/span&gt;&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;id&#39;&lt;/span&gt;},&lt;/div&gt;&lt;div&gt;            {&lt;span style=&quot;color: #9cdcfe;&quot;&gt;data:&lt;/span&gt;&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;name&#39;&lt;/span&gt;},&lt;/div&gt;&lt;div&gt;            {&lt;span style=&quot;color: #9cdcfe;&quot;&gt;data:&lt;/span&gt;&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;email&#39;&lt;/span&gt;},&lt;/div&gt;&lt;div&gt;            {&lt;span style=&quot;color: #9cdcfe;&quot;&gt;data:&lt;/span&gt;&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;phone&#39;&lt;/span&gt;},&lt;/div&gt;&lt;div&gt;            {&lt;span style=&quot;color: #9cdcfe;&quot;&gt;data:&lt;/span&gt;&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;course&#39;&lt;/span&gt;},&lt;/div&gt;&lt;div&gt;            { &lt;span style=&quot;color: #9cdcfe;&quot;&gt;data:&lt;/span&gt; &lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;&quot;&lt;/span&gt;, &lt;span style=&quot;color: #dcdcaa;&quot;&gt;render&lt;/span&gt;&lt;span style=&quot;color: #9cdcfe;&quot;&gt;:&lt;/span&gt;(&lt;span style=&quot;color: #9cdcfe;&quot;&gt;data&lt;/span&gt;,&lt;span style=&quot;color: #9cdcfe;&quot;&gt;type&lt;/span&gt;,&lt;span style=&quot;color: #9cdcfe;&quot;&gt;row&lt;/span&gt;)&lt;span style=&quot;color: #569cd6;&quot;&gt;=&amp;gt;&lt;/span&gt;{ &lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #c586c0;&quot;&gt;             return&lt;/span&gt; &lt;span style=&quot;color: #ce9178;&quot;&gt;`&amp;lt;button onclick=&#39;editdata(&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;${&lt;/span&gt;&lt;span style=&quot;color: #9cdcfe;&quot;&gt;row&lt;/span&gt;.&lt;span style=&quot;color: #9cdcfe;&quot;&gt;id&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;}&lt;/span&gt;&lt;span style=&quot;color: #ce9178;&quot;&gt;);&#39;&amp;gt;Edit&amp;lt;/button&amp;gt;`&lt;/span&gt;;} },&lt;/div&gt;&lt;div&gt;            { &lt;span style=&quot;color: #9cdcfe;&quot;&gt;data:&lt;/span&gt; &lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;&quot;&lt;/span&gt;, &lt;span style=&quot;color: #dcdcaa;&quot;&gt;render&lt;/span&gt;&lt;span style=&quot;color: #9cdcfe;&quot;&gt;:&lt;/span&gt;(&lt;span style=&quot;color: #9cdcfe;&quot;&gt;data&lt;/span&gt;,&lt;span style=&quot;color: #9cdcfe;&quot;&gt;type&lt;/span&gt;,&lt;span style=&quot;color: #9cdcfe;&quot;&gt;row&lt;/span&gt;)&lt;span style=&quot;color: #569cd6;&quot;&gt;=&amp;gt;&lt;/span&gt;{ &lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #c586c0;&quot;&gt;             return&lt;/span&gt; &lt;span style=&quot;color: #ce9178;&quot;&gt;`&amp;lt;button onclick=&#39;removedata(&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;${&lt;/span&gt;&lt;span style=&quot;color: #9cdcfe;&quot;&gt;row&lt;/span&gt;.&lt;span style=&quot;color: #9cdcfe;&quot;&gt;id&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;}&lt;/span&gt;&lt;span style=&quot;color: #ce9178;&quot;&gt;)&#39;&amp;gt;Delete&amp;lt;/button&amp;gt;`&lt;/span&gt; ;}}&lt;/div&gt;&lt;div&gt;                     ],&lt;/div&gt;&lt;div&gt;            });&lt;/div&gt;&lt;div&gt;          }&lt;/div&gt;&lt;div&gt;          &lt;span style=&quot;color: #dcdcaa;&quot;&gt;fetchdata&lt;/span&gt;();&lt;/div&gt;&lt;/div&gt;&lt;div&gt;      &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;script&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;    &lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;      &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;script&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;        &lt;span style=&quot;color: #dcdcaa;&quot;&gt;$&lt;/span&gt;(&lt;span style=&quot;color: #9cdcfe;&quot;&gt;document&lt;/span&gt;).&lt;span style=&quot;color: #dcdcaa;&quot;&gt;ready&lt;/span&gt;(&lt;span style=&quot;color: #569cd6;&quot;&gt;function&lt;/span&gt;(){&lt;/div&gt;&lt;div&gt;            &lt;span style=&quot;color: #dcdcaa;&quot;&gt;$&lt;/span&gt;(&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;.ajaxstudent-save&#39;&lt;/span&gt;).&lt;span style=&quot;color: #dcdcaa;&quot;&gt;on&lt;/span&gt;(&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;click&#39;&lt;/span&gt;,&lt;span style=&quot;color: #569cd6;&quot;&gt;function&lt;/span&gt;(){&lt;/div&gt;&lt;div&gt;              &lt;/div&gt;&lt;div&gt;                &lt;span style=&quot;color: #c586c0;&quot;&gt;if&lt;/span&gt;(&lt;span style=&quot;color: #9cdcfe;&quot;&gt;$&lt;/span&gt;.&lt;span style=&quot;color: #dcdcaa;&quot;&gt;trim&lt;/span&gt;(&lt;span style=&quot;color: #dcdcaa;&quot;&gt;$&lt;/span&gt;(&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;.name&#39;&lt;/span&gt;).&lt;span style=&quot;color: #dcdcaa;&quot;&gt;val&lt;/span&gt;()).&lt;span style=&quot;color: #9cdcfe;&quot;&gt;length&lt;/span&gt;==&lt;span style=&quot;color: #b5cea8;&quot;&gt;0&lt;/span&gt;){&lt;/div&gt;&lt;div&gt;                   &lt;span style=&quot;color: #9cdcfe;&quot;&gt;error_name&lt;/span&gt; =&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;Please Enter name&#39;&lt;/span&gt;;&lt;/div&gt;&lt;div&gt;                   &lt;span style=&quot;color: #dcdcaa;&quot;&gt;$&lt;/span&gt;(&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;#error_name&#39;&lt;/span&gt;).&lt;span style=&quot;color: #dcdcaa;&quot;&gt;text&lt;/span&gt;(&lt;span style=&quot;color: #9cdcfe;&quot;&gt;error_name&lt;/span&gt;);&lt;/div&gt;&lt;div&gt;                }&lt;span style=&quot;color: #c586c0;&quot;&gt;else&lt;/span&gt;{&lt;/div&gt;&lt;div&gt;                    &lt;span style=&quot;color: #9cdcfe;&quot;&gt;error_name&lt;/span&gt; =&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;&#39;&lt;/span&gt;;&lt;/div&gt;&lt;div&gt;                   &lt;span style=&quot;color: #dcdcaa;&quot;&gt;$&lt;/span&gt;(&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;#error_name&#39;&lt;/span&gt;).&lt;span style=&quot;color: #dcdcaa;&quot;&gt;text&lt;/span&gt;(&lt;span style=&quot;color: #9cdcfe;&quot;&gt;error_name&lt;/span&gt;);&lt;/div&gt;&lt;div&gt;                }&lt;/div&gt;&lt;br /&gt;&lt;div&gt;                &lt;span style=&quot;color: #c586c0;&quot;&gt;if&lt;/span&gt;(&lt;span style=&quot;color: #9cdcfe;&quot;&gt;$&lt;/span&gt;.&lt;span style=&quot;color: #dcdcaa;&quot;&gt;trim&lt;/span&gt;(&lt;span style=&quot;color: #dcdcaa;&quot;&gt;$&lt;/span&gt;(&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;.email&#39;&lt;/span&gt;).&lt;span style=&quot;color: #dcdcaa;&quot;&gt;val&lt;/span&gt;()).&lt;span style=&quot;color: #9cdcfe;&quot;&gt;length&lt;/span&gt;==&lt;span style=&quot;color: #b5cea8;&quot;&gt;0&lt;/span&gt;){&lt;/div&gt;&lt;div&gt;                   &lt;span style=&quot;color: #9cdcfe;&quot;&gt;error_email&lt;/span&gt; =&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;Please Enter email&#39;&lt;/span&gt;;&lt;/div&gt;&lt;div&gt;                   &lt;span style=&quot;color: #dcdcaa;&quot;&gt;$&lt;/span&gt;(&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;#error_email&#39;&lt;/span&gt;).&lt;span style=&quot;color: #dcdcaa;&quot;&gt;text&lt;/span&gt;(&lt;span style=&quot;color: #9cdcfe;&quot;&gt;error_name&lt;/span&gt;);&lt;/div&gt;&lt;div&gt;                }&lt;span style=&quot;color: #c586c0;&quot;&gt;else&lt;/span&gt;{&lt;/div&gt;&lt;div&gt;                    &lt;span style=&quot;color: #9cdcfe;&quot;&gt;error_email&lt;/span&gt; =&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;&#39;&lt;/span&gt;;&lt;/div&gt;&lt;div&gt;                   &lt;span style=&quot;color: #dcdcaa;&quot;&gt;$&lt;/span&gt;(&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;#error_email&#39;&lt;/span&gt;).&lt;span style=&quot;color: #dcdcaa;&quot;&gt;text&lt;/span&gt;(&lt;span style=&quot;color: #9cdcfe;&quot;&gt;error_email&lt;/span&gt;);&lt;/div&gt;&lt;div&gt;                }&lt;/div&gt;&lt;br /&gt;&lt;div&gt;                &lt;span style=&quot;color: #c586c0;&quot;&gt;if&lt;/span&gt;(&lt;span style=&quot;color: #9cdcfe;&quot;&gt;$&lt;/span&gt;.&lt;span style=&quot;color: #dcdcaa;&quot;&gt;trim&lt;/span&gt;(&lt;span style=&quot;color: #dcdcaa;&quot;&gt;$&lt;/span&gt;(&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;.phone&#39;&lt;/span&gt;).&lt;span style=&quot;color: #dcdcaa;&quot;&gt;val&lt;/span&gt;()).&lt;span style=&quot;color: #9cdcfe;&quot;&gt;length&lt;/span&gt;==&lt;span style=&quot;color: #b5cea8;&quot;&gt;0&lt;/span&gt;){&lt;/div&gt;&lt;div&gt;                   &lt;span style=&quot;color: #9cdcfe;&quot;&gt;error_phone&lt;/span&gt; =&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;Please Enter phone&#39;&lt;/span&gt;;&lt;/div&gt;&lt;div&gt;                   &lt;span style=&quot;color: #dcdcaa;&quot;&gt;$&lt;/span&gt;(&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;#error_phone&#39;&lt;/span&gt;).&lt;span style=&quot;color: #dcdcaa;&quot;&gt;text&lt;/span&gt;(&lt;span style=&quot;color: #9cdcfe;&quot;&gt;error_phone&lt;/span&gt;);&lt;/div&gt;&lt;div&gt;                }&lt;span style=&quot;color: #c586c0;&quot;&gt;else&lt;/span&gt;{&lt;/div&gt;&lt;div&gt;                    &lt;span style=&quot;color: #9cdcfe;&quot;&gt;error_phone&lt;/span&gt; =&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;&#39;&lt;/span&gt;;&lt;/div&gt;&lt;div&gt;                   &lt;span style=&quot;color: #dcdcaa;&quot;&gt;$&lt;/span&gt;(&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;#error_phone&#39;&lt;/span&gt;).&lt;span style=&quot;color: #dcdcaa;&quot;&gt;text&lt;/span&gt;(&lt;span style=&quot;color: #9cdcfe;&quot;&gt;error_phone&lt;/span&gt;);&lt;/div&gt;&lt;div&gt;                }&lt;/div&gt;&lt;br /&gt;&lt;div&gt;                &lt;span style=&quot;color: #c586c0;&quot;&gt;if&lt;/span&gt;(&lt;span style=&quot;color: #9cdcfe;&quot;&gt;$&lt;/span&gt;.&lt;span style=&quot;color: #dcdcaa;&quot;&gt;trim&lt;/span&gt;(&lt;span style=&quot;color: #dcdcaa;&quot;&gt;$&lt;/span&gt;(&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;.course&#39;&lt;/span&gt;).&lt;span style=&quot;color: #dcdcaa;&quot;&gt;val&lt;/span&gt;()).&lt;span style=&quot;color: #9cdcfe;&quot;&gt;length&lt;/span&gt;==&lt;span style=&quot;color: #b5cea8;&quot;&gt;0&lt;/span&gt;){&lt;/div&gt;&lt;div&gt;                   &lt;span style=&quot;color: #9cdcfe;&quot;&gt;error_course&lt;/span&gt; =&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;Please Enter course&#39;&lt;/span&gt;;&lt;/div&gt;&lt;div&gt;                   &lt;span style=&quot;color: #dcdcaa;&quot;&gt;$&lt;/span&gt;(&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;#error_course&#39;&lt;/span&gt;).&lt;span style=&quot;color: #dcdcaa;&quot;&gt;text&lt;/span&gt;(&lt;span style=&quot;color: #9cdcfe;&quot;&gt;error_course&lt;/span&gt;);&lt;/div&gt;&lt;div&gt;                }&lt;span style=&quot;color: #c586c0;&quot;&gt;else&lt;/span&gt;{&lt;/div&gt;&lt;div&gt;                    &lt;span style=&quot;color: #9cdcfe;&quot;&gt;error_course&lt;/span&gt; =&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;&#39;&lt;/span&gt;;&lt;/div&gt;&lt;div&gt;                   &lt;span style=&quot;color: #dcdcaa;&quot;&gt;$&lt;/span&gt;(&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;#error_course&#39;&lt;/span&gt;).&lt;span style=&quot;color: #dcdcaa;&quot;&gt;text&lt;/span&gt;(&lt;span style=&quot;color: #9cdcfe;&quot;&gt;error_course&lt;/span&gt;);&lt;/div&gt;&lt;div&gt;                }&lt;/div&gt;&lt;br /&gt;&lt;div&gt;                &lt;span style=&quot;color: #c586c0;&quot;&gt;if&lt;/span&gt;(&lt;span style=&quot;color: #9cdcfe;&quot;&gt;error_name&lt;/span&gt; !=&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;&#39;&lt;/span&gt; || &lt;span style=&quot;color: #9cdcfe;&quot;&gt;error_email&lt;/span&gt; !=&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;&#39;&lt;/span&gt; || &lt;span style=&quot;color: #9cdcfe;&quot;&gt;error_phone&lt;/span&gt; != &lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;&#39;&lt;/span&gt; || &lt;span style=&quot;color: #9cdcfe;&quot;&gt;error_course&lt;/span&gt; != &lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;&#39;&lt;/span&gt;){&lt;/div&gt;&lt;div&gt;                     &lt;span style=&quot;color: #c586c0;&quot;&gt;return&lt;/span&gt; &lt;span style=&quot;color: #569cd6;&quot;&gt;false&lt;/span&gt;;&lt;/div&gt;&lt;div&gt;                }&lt;span style=&quot;color: #c586c0;&quot;&gt;else&lt;/span&gt;{&lt;/div&gt;&lt;div&gt;                 &lt;/div&gt;&lt;div&gt;                   &lt;span style=&quot;color: #569cd6;&quot;&gt;var&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;data&lt;/span&gt; = {&lt;/div&gt;&lt;div&gt;                             &lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;name&#39;&lt;/span&gt;&lt;span style=&quot;color: #9cdcfe;&quot;&gt; :&lt;/span&gt; &lt;span style=&quot;color: #dcdcaa;&quot;&gt;$&lt;/span&gt;(&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;.name&#39;&lt;/span&gt;).&lt;span style=&quot;color: #dcdcaa;&quot;&gt;val&lt;/span&gt;(),&lt;/div&gt;&lt;div&gt;                             &lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;email&#39;&lt;/span&gt;&lt;span style=&quot;color: #9cdcfe;&quot;&gt; :&lt;/span&gt; &lt;span style=&quot;color: #dcdcaa;&quot;&gt;$&lt;/span&gt;(&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;.email&#39;&lt;/span&gt;).&lt;span style=&quot;color: #dcdcaa;&quot;&gt;val&lt;/span&gt;(),&lt;/div&gt;&lt;div&gt;                             &lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;phone&#39;&lt;/span&gt;&lt;span style=&quot;color: #9cdcfe;&quot;&gt; :&lt;/span&gt; &lt;span style=&quot;color: #dcdcaa;&quot;&gt;$&lt;/span&gt;(&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;.phone&#39;&lt;/span&gt;).&lt;span style=&quot;color: #dcdcaa;&quot;&gt;val&lt;/span&gt;(),&lt;/div&gt;&lt;div&gt;                             &lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;course&#39;&lt;/span&gt;&lt;span style=&quot;color: #9cdcfe;&quot;&gt; :&lt;/span&gt; &lt;span style=&quot;color: #dcdcaa;&quot;&gt;$&lt;/span&gt;(&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;.course&#39;&lt;/span&gt;).&lt;span style=&quot;color: #dcdcaa;&quot;&gt;val&lt;/span&gt;()&lt;/div&gt;&lt;div&gt;                    };&lt;/div&gt;&lt;div&gt;                     &lt;span style=&quot;color: #9cdcfe;&quot;&gt;$&lt;/span&gt;.&lt;span style=&quot;color: #dcdcaa;&quot;&gt;ajax&lt;/span&gt;({&lt;/div&gt;&lt;div&gt;                        &lt;span style=&quot;color: #9cdcfe;&quot;&gt;url :&lt;/span&gt; &lt;span style=&quot;color: #dcdcaa;&quot;&gt;$&lt;/span&gt;(&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;#studentModal&#39;&lt;/span&gt;).&lt;span style=&quot;color: #dcdcaa;&quot;&gt;attr&lt;/span&gt;(&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;url&#39;&lt;/span&gt;),&lt;/div&gt;&lt;div&gt;                        &lt;span style=&quot;color: #9cdcfe;&quot;&gt;type :&lt;/span&gt; &lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;post&#39;&lt;/span&gt;,&lt;/div&gt;&lt;div&gt;                        &lt;span style=&quot;color: #9cdcfe;&quot;&gt;data :data&lt;/span&gt;,&lt;/div&gt;&lt;div&gt;                        &lt;span style=&quot;color: #dcdcaa;&quot;&gt;success&lt;/span&gt;&lt;span style=&quot;color: #9cdcfe;&quot;&gt;:&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;function&lt;/span&gt;(&lt;span style=&quot;color: #9cdcfe;&quot;&gt;response&lt;/span&gt;){&lt;/div&gt;&lt;div&gt;                            &lt;span style=&quot;color: #dcdcaa;&quot;&gt;$&lt;/span&gt;(&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;#studentModal&#39;&lt;/span&gt;).&lt;span style=&quot;color: #dcdcaa;&quot;&gt;modal&lt;/span&gt;(&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;hide&#39;&lt;/span&gt;);&lt;/div&gt;&lt;div&gt;                            &lt;span style=&quot;color: #dcdcaa;&quot;&gt;$&lt;/span&gt;(&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;#studentModal&#39;&lt;/span&gt;).&lt;span style=&quot;color: #dcdcaa;&quot;&gt;find&lt;/span&gt;(&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;input&#39;&lt;/span&gt;).&lt;span style=&quot;color: #dcdcaa;&quot;&gt;val&lt;/span&gt;(&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;&#39;&lt;/span&gt;);&lt;/div&gt;&lt;div&gt;                            //when data listing on insert to avoid datatable issu                &lt;span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;                           &lt;span style=&quot;color: #dcdcaa;&quot;&gt;$&lt;/span&gt;(&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;#myTable&#39;&lt;/span&gt;).&lt;span style=&quot;color: #dcdcaa;&quot;&gt;DataTable&lt;/span&gt;().&lt;span style=&quot;color: #dcdcaa;&quot;&gt;destroy&lt;/span&gt;();&lt;/div&gt;&lt;div style=&quot;line-height: 19px;&quot;&gt;&lt;div&gt;                            &lt;span style=&quot;color: #dcdcaa;&quot;&gt;fetchdata&lt;/span&gt;();&lt;/div&gt;&lt;/div&gt;&lt;div&gt;                        }&lt;/div&gt;&lt;div&gt;                     });&lt;/div&gt;&lt;div&gt;                }&lt;/div&gt;&lt;div&gt;            });&lt;/div&gt;&lt;div&gt;        });&lt;/div&gt;&lt;div&gt;      &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;script&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: grey;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;     &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;script&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;        &lt;span style=&quot;color: #569cd6;&quot;&gt;function&lt;/span&gt; &lt;span style=&quot;color: #dcdcaa;&quot;&gt;editdata&lt;/span&gt;(&lt;span style=&quot;color: #9cdcfe;&quot;&gt;id&lt;/span&gt;){&lt;/div&gt;&lt;div&gt;         &lt;/div&gt;&lt;div&gt;        &lt;span style=&quot;color: #9cdcfe;&quot;&gt;$&lt;/span&gt;.&lt;span style=&quot;color: #dcdcaa;&quot;&gt;ajax&lt;/span&gt;({&lt;/div&gt;&lt;div&gt;          &lt;span style=&quot;color: #9cdcfe;&quot;&gt;url:&lt;/span&gt;&lt;span style=&quot;color: #dcdcaa;&quot;&gt;$&lt;/span&gt;(&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;#edit-data&#39;&lt;/span&gt;).&lt;span style=&quot;color: #dcdcaa;&quot;&gt;val&lt;/span&gt;(),&lt;/div&gt;&lt;div&gt;          &lt;span style=&quot;color: #9cdcfe;&quot;&gt;type:&lt;/span&gt;&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;post&#39;&lt;/span&gt;,&lt;/div&gt;&lt;div&gt;          &lt;span style=&quot;color: #9cdcfe;&quot;&gt;data:&lt;/span&gt; {&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;id&#39;&lt;/span&gt;&lt;span style=&quot;color: #9cdcfe;&quot;&gt;:id&lt;/span&gt;},&lt;/div&gt;&lt;div&gt;          &lt;span style=&quot;color: #dcdcaa;&quot;&gt;success&lt;/span&gt;&lt;span style=&quot;color: #9cdcfe;&quot;&gt;:&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;function&lt;/span&gt;(&lt;span style=&quot;color: #9cdcfe;&quot;&gt;response&lt;/span&gt;){&lt;/div&gt;&lt;div&gt;          &lt;/div&gt;&lt;div&gt;          &lt;span style=&quot;color: #9cdcfe;&quot;&gt;$&lt;/span&gt;.&lt;span style=&quot;color: #dcdcaa;&quot;&gt;each&lt;/span&gt;(&lt;span style=&quot;color: #9cdcfe;&quot;&gt;response&lt;/span&gt;.&lt;span style=&quot;color: #9cdcfe;&quot;&gt;records&lt;/span&gt;,&lt;span style=&quot;color: #569cd6;&quot;&gt;function&lt;/span&gt;(&lt;span style=&quot;color: #9cdcfe;&quot;&gt;key&lt;/span&gt;,&lt;span style=&quot;color: #9cdcfe;&quot;&gt;value&lt;/span&gt;){&lt;/div&gt;&lt;div&gt;            &lt;span style=&quot;color: #9cdcfe;&quot;&gt;console&lt;/span&gt;.&lt;span style=&quot;color: #dcdcaa;&quot;&gt;log&lt;/span&gt;(&lt;span style=&quot;color: #9cdcfe;&quot;&gt;value&lt;/span&gt;[&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;name&#39;&lt;/span&gt;]);&lt;/div&gt;&lt;div&gt;            &lt;span style=&quot;color: #dcdcaa;&quot;&gt;$&lt;/span&gt;(&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;#edit_id&#39;&lt;/span&gt;).&lt;span style=&quot;color: #dcdcaa;&quot;&gt;val&lt;/span&gt;(&lt;span style=&quot;color: #9cdcfe;&quot;&gt;value&lt;/span&gt;[&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;id&#39;&lt;/span&gt;]);&lt;/div&gt;&lt;div&gt;            &lt;span style=&quot;color: #dcdcaa;&quot;&gt;$&lt;/span&gt;(&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;#edit_name&#39;&lt;/span&gt;).&lt;span style=&quot;color: #dcdcaa;&quot;&gt;val&lt;/span&gt;(&lt;span style=&quot;color: #9cdcfe;&quot;&gt;value&lt;/span&gt;[&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;name&#39;&lt;/span&gt;]);&lt;/div&gt;&lt;div&gt;            &lt;span style=&quot;color: #dcdcaa;&quot;&gt;$&lt;/span&gt;(&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;#edit_email&#39;&lt;/span&gt;).&lt;span style=&quot;color: #dcdcaa;&quot;&gt;val&lt;/span&gt;(&lt;span style=&quot;color: #9cdcfe;&quot;&gt;value&lt;/span&gt;[&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;email&#39;&lt;/span&gt;]);&lt;/div&gt;&lt;div&gt;            &lt;span style=&quot;color: #dcdcaa;&quot;&gt;$&lt;/span&gt;(&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;#edit_phone&#39;&lt;/span&gt;).&lt;span style=&quot;color: #dcdcaa;&quot;&gt;val&lt;/span&gt;(&lt;span style=&quot;color: #9cdcfe;&quot;&gt;value&lt;/span&gt;[&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;phone&#39;&lt;/span&gt;]);&lt;/div&gt;&lt;div&gt;            &lt;span style=&quot;color: #dcdcaa;&quot;&gt;$&lt;/span&gt;(&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;#edit_course&#39;&lt;/span&gt;).&lt;span style=&quot;color: #dcdcaa;&quot;&gt;val&lt;/span&gt;(&lt;span style=&quot;color: #9cdcfe;&quot;&gt;value&lt;/span&gt;[&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;course&#39;&lt;/span&gt;]);&lt;/div&gt;&lt;div&gt;            &lt;span style=&quot;color: #dcdcaa;&quot;&gt;$&lt;/span&gt;(&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;#editstudentModal&#39;&lt;/span&gt;).&lt;span style=&quot;color: #dcdcaa;&quot;&gt;modal&lt;/span&gt;(&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;show&#39;&lt;/span&gt;);&lt;/div&gt;&lt;div&gt;          });&lt;/div&gt;&lt;div&gt;          }&lt;/div&gt;&lt;div&gt;        });&lt;/div&gt;&lt;div&gt;        }&lt;/div&gt;&lt;div&gt;      &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;script&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: grey;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: grey;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: grey;&quot;&gt;      &amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;script&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;      &lt;span style=&quot;color: #dcdcaa;&quot;&gt;$&lt;/span&gt;(&lt;span style=&quot;color: #9cdcfe;&quot;&gt;document&lt;/span&gt;).&lt;span style=&quot;color: #dcdcaa;&quot;&gt;ready&lt;/span&gt;(&lt;span style=&quot;color: #569cd6;&quot;&gt;function&lt;/span&gt;(){&lt;/div&gt;&lt;div&gt;        &lt;span style=&quot;color: #dcdcaa;&quot;&gt;$&lt;/span&gt;(&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;.ajaxstudent-update&#39;&lt;/span&gt;).&lt;span style=&quot;color: #dcdcaa;&quot;&gt;on&lt;/span&gt;(&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;click&#39;&lt;/span&gt;,&lt;span style=&quot;color: #569cd6;&quot;&gt;function&lt;/span&gt;(){&lt;/div&gt;&lt;div&gt;        &lt;/div&gt;&lt;div&gt;          &lt;span style=&quot;color: #9cdcfe;&quot;&gt;data&lt;/span&gt; =&lt;/div&gt;&lt;div&gt;           { &lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;id&#39;&lt;/span&gt; : &lt;span style=&quot;color: #dcdcaa;&quot;&gt;$&lt;/span&gt;(&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;#edit_id&#39;&lt;/span&gt;).&lt;span style=&quot;color: #dcdcaa;&quot;&gt;val&lt;/span&gt;(),&lt;/div&gt;&lt;div&gt;              &lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;name&#39;&lt;/span&gt; : &lt;span style=&quot;color: #dcdcaa;&quot;&gt;$&lt;/span&gt;(&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;#edit_name&#39;&lt;/span&gt;).&lt;span style=&quot;color: #dcdcaa;&quot;&gt;val&lt;/span&gt;(),&lt;/div&gt;&lt;div&gt;             &lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;email&#39;&lt;/span&gt; : &lt;span style=&quot;color: #dcdcaa;&quot;&gt;$&lt;/span&gt;(&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;#edit_email&#39;&lt;/span&gt;).&lt;span style=&quot;color: #dcdcaa;&quot;&gt;val&lt;/span&gt;(),&lt;/div&gt;&lt;div&gt;             &lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;phone&#39;&lt;/span&gt; : &lt;span style=&quot;color: #dcdcaa;&quot;&gt;$&lt;/span&gt;(&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;#edit_phone&#39;&lt;/span&gt;).&lt;span style=&quot;color: #dcdcaa;&quot;&gt;val&lt;/span&gt;(),&lt;/div&gt;&lt;div&gt;             &lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;course&#39;&lt;/span&gt; :&lt;span style=&quot;color: #dcdcaa;&quot;&gt;$&lt;/span&gt;(&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;#edit_course&#39;&lt;/span&gt;).&lt;span style=&quot;color: #dcdcaa;&quot;&gt;val&lt;/span&gt;()&lt;/div&gt;&lt;div&gt;           };&lt;/div&gt;&lt;br /&gt;&lt;div&gt;           &lt;span style=&quot;color: #9cdcfe;&quot;&gt;$&lt;/span&gt;.&lt;span style=&quot;color: #dcdcaa;&quot;&gt;ajax&lt;/span&gt;({&lt;/div&gt;&lt;div&gt;            &lt;span style=&quot;color: #9cdcfe;&quot;&gt;url:&lt;/span&gt;&lt;span style=&quot;color: #dcdcaa;&quot;&gt;$&lt;/span&gt;(&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;#update-data&#39;&lt;/span&gt;).&lt;span style=&quot;color: #dcdcaa;&quot;&gt;val&lt;/span&gt;(),&lt;/div&gt;&lt;div&gt;            &lt;span style=&quot;color: #9cdcfe;&quot;&gt;type:&lt;/span&gt;&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;post&quot;&lt;/span&gt;,&lt;/div&gt;&lt;div&gt;            &lt;span style=&quot;color: #9cdcfe;&quot;&gt;data:data&lt;/span&gt;,&lt;/div&gt;&lt;div&gt;            &lt;span style=&quot;color: #dcdcaa;&quot;&gt;success&lt;/span&gt;&lt;span style=&quot;color: #9cdcfe;&quot;&gt;:&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;function&lt;/span&gt;(&lt;span style=&quot;color: #9cdcfe;&quot;&gt;response&lt;/span&gt;){&lt;/div&gt;&lt;div&gt;               &lt;span style=&quot;color: #dcdcaa;&quot;&gt;$&lt;/span&gt;(&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;#myTable&#39;&lt;/span&gt;).&lt;span style=&quot;color: #dcdcaa;&quot;&gt;DataTable&lt;/span&gt;().&lt;span style=&quot;color: #dcdcaa;&quot;&gt;destroy&lt;/span&gt;();&lt;/div&gt;&lt;div style=&quot;line-height: 19px;&quot;&gt;&lt;div&gt;               &lt;span style=&quot;color: #dcdcaa;&quot;&gt;fetchdata&lt;/span&gt;();&lt;/div&gt;&lt;/div&gt;&lt;div&gt;              &lt;span style=&quot;color: #9cdcfe;&quot;&gt;console&lt;/span&gt;.&lt;span style=&quot;color: #dcdcaa;&quot;&gt;log&lt;/span&gt;(&lt;span style=&quot;color: #9cdcfe;&quot;&gt;response&lt;/span&gt;);&lt;/div&gt;&lt;div&gt;              &lt;span style=&quot;color: #dcdcaa;&quot;&gt;$&lt;/span&gt;(&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;#editstudentModal&#39;&lt;/span&gt;).&lt;span style=&quot;color: #dcdcaa;&quot;&gt;modal&lt;/span&gt;(&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;hide&#39;&lt;/span&gt;);&lt;/div&gt;&lt;div&gt;              &lt;/div&gt;&lt;div&gt;            }&lt;/div&gt;&lt;div&gt;           }); &lt;/div&gt;&lt;div&gt;        });&lt;/div&gt;&lt;div&gt;        &lt;/div&gt;&lt;div&gt;      });&lt;/div&gt;&lt;div&gt;     &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;script&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: #1e1e1e; color: #d4d4d4; font-family: &amp;quot;Droid Sans Mono&amp;quot;, &amp;quot;monospace&amp;quot;, monospace; font-size: 14px; line-height: 19px; white-space: pre;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;     &lt;/div&gt;&lt;div&gt;    &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;script&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;    &lt;span style=&quot;color: #569cd6;&quot;&gt;function&lt;/span&gt; &lt;span style=&quot;color: #dcdcaa;&quot;&gt;removedata&lt;/span&gt;(&lt;span style=&quot;color: #9cdcfe;&quot;&gt;id&lt;/span&gt;){&lt;/div&gt;&lt;div&gt;      &lt;/div&gt;&lt;div&gt;      &lt;span style=&quot;color: #9cdcfe;&quot;&gt;$&lt;/span&gt;.&lt;span style=&quot;color: #dcdcaa;&quot;&gt;ajax&lt;/span&gt;({&lt;/div&gt;&lt;div&gt;        &lt;span style=&quot;color: #9cdcfe;&quot;&gt;url :&lt;/span&gt; &lt;span style=&quot;color: #dcdcaa;&quot;&gt;$&lt;/span&gt;(&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;#remove-data&#39;&lt;/span&gt;).&lt;span style=&quot;color: #dcdcaa;&quot;&gt;val&lt;/span&gt;(),&lt;/div&gt;&lt;div&gt;        &lt;span style=&quot;color: #9cdcfe;&quot;&gt;type :&lt;/span&gt; &lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;post&#39;&lt;/span&gt;,&lt;/div&gt;&lt;div&gt;        &lt;span style=&quot;color: #9cdcfe;&quot;&gt;data:&lt;/span&gt;{&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;id&#39;&lt;/span&gt;&lt;span style=&quot;color: #9cdcfe;&quot;&gt;:id&lt;/span&gt;},&lt;/div&gt;&lt;div&gt;        &lt;span style=&quot;color: #dcdcaa;&quot;&gt;success&lt;/span&gt;&lt;span style=&quot;color: #9cdcfe;&quot;&gt;:&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;function&lt;/span&gt;(&lt;span style=&quot;color: #9cdcfe;&quot;&gt;response&lt;/span&gt;){&lt;/div&gt;&lt;div&gt;         &lt;span style=&quot;color: #dcdcaa;&quot;&gt;$&lt;/span&gt;(&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;#myTable&#39;&lt;/span&gt;).&lt;span style=&quot;color: #dcdcaa;&quot;&gt;DataTable&lt;/span&gt;().&lt;span style=&quot;color: #dcdcaa;&quot;&gt;destroy&lt;/span&gt;();&lt;/div&gt;&lt;div style=&quot;line-height: 19px;&quot;&gt;&lt;div&gt;        &lt;span style=&quot;color: #dcdcaa;&quot;&gt;fetchdata&lt;/span&gt;();&lt;/div&gt;&lt;/div&gt;&lt;div&gt;        }&lt;/div&gt;&lt;div&gt;      });&lt;/div&gt;&lt;div&gt;    }&lt;/div&gt;&lt;div&gt;    &lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;script&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;          &lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;body&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;html&lt;/span&gt;&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;&lt;/div&gt;&lt;p&gt;&lt;b&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;Step 4- Create Routes.php&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;&lt;div style=&quot;background-color: #1e1e1e; color: #d4d4d4; font-family: &amp;quot;Droid Sans Mono&amp;quot;, &amp;quot;monospace&amp;quot;, monospace; font-size: 14px; line-height: 19px; white-space: pre;&quot;&gt;&lt;div&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;&amp;lt;?php&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;use&lt;/span&gt; CodeIgniter\Router\&lt;span style=&quot;color: #4ec9b0;&quot;&gt;RouteCollection&lt;/span&gt;;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;span style=&quot;color: #6a9955;&quot;&gt;/**&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #6a9955;&quot;&gt; * &lt;/span&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;@var&lt;/span&gt;&lt;span style=&quot;color: #6a9955;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #4ec9b0;&quot;&gt;RouteCollection&lt;/span&gt;&lt;span style=&quot;color: #6a9955;&quot;&gt; $routes&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #6a9955;&quot;&gt; */&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #9cdcfe;&quot;&gt;$routes&lt;/span&gt;-&amp;gt;&lt;span style=&quot;color: #dcdcaa;&quot;&gt;get&lt;/span&gt;(&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;/&#39;&lt;/span&gt;, &lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;Home::index&#39;&lt;/span&gt;);&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #9cdcfe;&quot;&gt;$routes&lt;/span&gt;-&amp;gt;&lt;span style=&quot;color: #dcdcaa;&quot;&gt;post&lt;/span&gt;(&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;/store&#39;&lt;/span&gt;, &lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;Home::store&#39;&lt;/span&gt;);&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #9cdcfe;&quot;&gt;$routes&lt;/span&gt;-&amp;gt;&lt;span style=&quot;color: #dcdcaa;&quot;&gt;get&lt;/span&gt;(&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;/fetch&#39;&lt;/span&gt;,&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;Home::fetch&#39;&lt;/span&gt;);&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #9cdcfe;&quot;&gt;$routes&lt;/span&gt;-&amp;gt;&lt;span style=&quot;color: #dcdcaa;&quot;&gt;post&lt;/span&gt;(&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;/removedata&#39;&lt;/span&gt;,&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;Home::removedata&#39;&lt;/span&gt;);&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #9cdcfe;&quot;&gt;$routes&lt;/span&gt;-&amp;gt;&lt;span style=&quot;color: #dcdcaa;&quot;&gt;post&lt;/span&gt;(&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;/editdata&#39;&lt;/span&gt;,&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;Home::editdata&#39;&lt;/span&gt;);&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #9cdcfe;&quot;&gt;$routes&lt;/span&gt;-&amp;gt;&lt;span style=&quot;color: #dcdcaa;&quot;&gt;post&lt;/span&gt;(&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;/updatedata&#39;&lt;/span&gt;,&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;Home::updatedata&#39;&lt;/span&gt;);&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;span style=&quot;color: #9cdcfe;&quot;&gt;$routes&lt;/span&gt;-&amp;gt;&lt;span style=&quot;color: #dcdcaa;&quot;&gt;get&lt;/span&gt;(&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;/imgform&#39;&lt;/span&gt;,&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;Home::imgform&#39;&lt;/span&gt;);&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #9cdcfe;&quot;&gt;$routes&lt;/span&gt;-&amp;gt;&lt;span style=&quot;color: #dcdcaa;&quot;&gt;post&lt;/span&gt;(&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;/upload&#39;&lt;/span&gt;,&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;Home::upload&#39;&lt;/span&gt;);&lt;/div&gt;&lt;/div&gt;&lt;p&gt;&lt;b&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;Step 5- Model StudentModel.php&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;&lt;div style=&quot;background-color: #1e1e1e; color: #d4d4d4; font-family: &amp;quot;Droid Sans Mono&amp;quot;, &amp;quot;monospace&amp;quot;, monospace; font-size: 14px; line-height: 19px; white-space: pre;&quot;&gt;&lt;div&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;&amp;lt;?php&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;namespace&lt;/span&gt; &lt;span style=&quot;color: #4ec9b0;&quot;&gt;App\Models&lt;/span&gt;;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;use&lt;/span&gt; CodeIgniter\&lt;span style=&quot;color: #4ec9b0;&quot;&gt;Model&lt;/span&gt;;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;class&lt;/span&gt; &lt;span style=&quot;color: #4ec9b0;&quot;&gt;StudentModel&lt;/span&gt; &lt;span style=&quot;color: #569cd6;&quot;&gt;extends&lt;/span&gt; &lt;span style=&quot;color: #4ec9b0;&quot;&gt;Model&lt;/span&gt;{&lt;/div&gt;&lt;div&gt;    &lt;span style=&quot;color: #569cd6;&quot;&gt;protected&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;$table&lt;/span&gt; =&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;students&quot;&lt;/span&gt;;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;    &lt;span style=&quot;color: #569cd6;&quot;&gt;protected&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;$primaryKey&lt;/span&gt; = &lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;id&quot;&lt;/span&gt;;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;    &lt;span style=&quot;color: #569cd6;&quot;&gt;protected&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;$allowedFields&lt;/span&gt; = [&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;name&#39;&lt;/span&gt;,&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;email&#39;&lt;/span&gt;,&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;phone&#39;&lt;/span&gt;,&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;course&#39;&lt;/span&gt;,&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;is_deleted&#39;&lt;/span&gt;];&lt;/div&gt;&lt;div&gt;}&lt;/div&gt;&lt;/div&gt;&lt;p&gt;&lt;b&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;&lt;span style=&quot;font-size: medium;&quot;&gt;Step 6- Create Controller Home.php&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;&lt;div style=&quot;background-color: #1e1e1e; color: #d4d4d4; font-family: &amp;quot;Droid Sans Mono&amp;quot;, &amp;quot;monospace&amp;quot;, monospace; font-size: 14px; line-height: 19px; white-space: pre;&quot;&gt;&lt;div style=&quot;line-height: 19px;&quot;&gt;&lt;div&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;&amp;lt;?php&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;namespace&lt;/span&gt; &lt;span style=&quot;color: #4ec9b0;&quot;&gt;App\Controllers&lt;/span&gt;;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;use&lt;/span&gt; App\Models\&lt;span style=&quot;color: #4ec9b0;&quot;&gt;StudentModel&lt;/span&gt;;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #569cd6;&quot;&gt;class&lt;/span&gt; &lt;span style=&quot;color: #4ec9b0;&quot;&gt;Home&lt;/span&gt; &lt;span style=&quot;color: #569cd6;&quot;&gt;extends&lt;/span&gt; &lt;span style=&quot;color: #4ec9b0;&quot;&gt;BaseController&lt;/span&gt;&lt;/div&gt;&lt;div&gt;{&lt;/div&gt;&lt;div&gt;    &lt;span style=&quot;color: #569cd6;&quot;&gt;public&lt;/span&gt; &lt;span style=&quot;color: #569cd6;&quot;&gt;function&lt;/span&gt; &lt;span style=&quot;color: #dcdcaa;&quot;&gt;index&lt;/span&gt;(): &lt;span style=&quot;color: #569cd6;&quot;&gt;string&lt;/span&gt;&lt;/div&gt;&lt;div&gt;    {&lt;/div&gt;&lt;div&gt;        &lt;span style=&quot;color: #c586c0;&quot;&gt;return&lt;/span&gt; &lt;span style=&quot;color: #dcdcaa;&quot;&gt;view&lt;/span&gt;(&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;welcome_message&#39;&lt;/span&gt;);&lt;/div&gt;&lt;div&gt;    }&lt;/div&gt;&lt;br /&gt;&lt;div&gt;    &lt;span style=&quot;color: #569cd6;&quot;&gt;public&lt;/span&gt; &lt;span style=&quot;color: #569cd6;&quot;&gt;function&lt;/span&gt; &lt;span style=&quot;color: #dcdcaa;&quot;&gt;store&lt;/span&gt;() &lt;/div&gt;&lt;div&gt;    {   &lt;span style=&quot;color: #9cdcfe;&quot;&gt;$model&lt;/span&gt; = &lt;span style=&quot;color: #569cd6;&quot;&gt;new&lt;/span&gt; &lt;span style=&quot;color: #4ec9b0;&quot;&gt;StudentModel&lt;/span&gt;();&lt;/div&gt;&lt;div&gt;          &lt;/div&gt;&lt;div&gt;        &lt;span style=&quot;color: #9cdcfe;&quot;&gt;$data&lt;/span&gt; = &lt;span style=&quot;color: #dcdcaa;&quot;&gt;array&lt;/span&gt;(&lt;/div&gt;&lt;div&gt;            &lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;name&#39;&lt;/span&gt; =&amp;gt; &lt;span style=&quot;color: #569cd6;&quot;&gt;$this&lt;/span&gt;-&amp;gt;&lt;span style=&quot;color: #9cdcfe;&quot;&gt;request&lt;/span&gt;-&amp;gt;&lt;span style=&quot;color: #dcdcaa;&quot;&gt;getPost&lt;/span&gt;(&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;name&#39;&lt;/span&gt;),&lt;/div&gt;&lt;div&gt;            &lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;email&#39;&lt;/span&gt; =&amp;gt; &lt;span style=&quot;color: #569cd6;&quot;&gt;$this&lt;/span&gt;-&amp;gt;&lt;span style=&quot;color: #9cdcfe;&quot;&gt;request&lt;/span&gt;-&amp;gt;&lt;span style=&quot;color: #dcdcaa;&quot;&gt;getPost&lt;/span&gt;(&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;email&#39;&lt;/span&gt;),&lt;/div&gt;&lt;div&gt;            &lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;phone&#39;&lt;/span&gt; =&amp;gt; &lt;span style=&quot;color: #569cd6;&quot;&gt;$this&lt;/span&gt;-&amp;gt;&lt;span style=&quot;color: #9cdcfe;&quot;&gt;request&lt;/span&gt;-&amp;gt;&lt;span style=&quot;color: #dcdcaa;&quot;&gt;getPost&lt;/span&gt;(&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;phone&#39;&lt;/span&gt;),&lt;/div&gt;&lt;div&gt;            &lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;course&#39;&lt;/span&gt; =&amp;gt; &lt;span style=&quot;color: #569cd6;&quot;&gt;$this&lt;/span&gt;-&amp;gt;&lt;span style=&quot;color: #9cdcfe;&quot;&gt;request&lt;/span&gt;-&amp;gt;&lt;span style=&quot;color: #dcdcaa;&quot;&gt;getPost&lt;/span&gt;(&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;course&#39;&lt;/span&gt;)&lt;/div&gt;&lt;div&gt;        );&lt;/div&gt;&lt;br /&gt;&lt;div&gt;        &lt;/div&gt;&lt;div&gt;        &lt;span style=&quot;color: #9cdcfe;&quot;&gt;$model&lt;/span&gt;-&amp;gt;&lt;span style=&quot;color: #dcdcaa;&quot;&gt;save&lt;/span&gt;(&lt;span style=&quot;color: #9cdcfe;&quot;&gt;$data&lt;/span&gt;);&lt;/div&gt;&lt;div&gt;        &lt;span style=&quot;color: #9cdcfe;&quot;&gt;$data&lt;/span&gt; = &lt;span style=&quot;color: #dcdcaa;&quot;&gt;array&lt;/span&gt;(&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;status&#39;&lt;/span&gt; =&amp;gt; &lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;student inserted successfully..!&#39;&lt;/span&gt;);&lt;/div&gt;&lt;div&gt;        &lt;span style=&quot;color: #c586c0;&quot;&gt;return&lt;/span&gt; &lt;span style=&quot;color: #569cd6;&quot;&gt;$this&lt;/span&gt;-&amp;gt;&lt;span style=&quot;color: #9cdcfe;&quot;&gt;response&lt;/span&gt;-&amp;gt;&lt;span style=&quot;color: #dcdcaa;&quot;&gt;setJSON&lt;/span&gt;(&lt;span style=&quot;color: #9cdcfe;&quot;&gt;$data&lt;/span&gt;);&lt;/div&gt;&lt;div&gt;    }&lt;/div&gt;&lt;br /&gt;&lt;div&gt;    &lt;span style=&quot;color: #569cd6;&quot;&gt;public&lt;/span&gt; &lt;span style=&quot;color: #569cd6;&quot;&gt;function&lt;/span&gt; &lt;span style=&quot;color: #dcdcaa;&quot;&gt;fetch&lt;/span&gt;(){&lt;/div&gt;&lt;div&gt;        &lt;span style=&quot;color: #9cdcfe;&quot;&gt;$model&lt;/span&gt; = &lt;span style=&quot;color: #569cd6;&quot;&gt;new&lt;/span&gt; &lt;span style=&quot;color: #4ec9b0;&quot;&gt;StudentModel&lt;/span&gt;();&lt;/div&gt;&lt;div&gt;         &lt;span style=&quot;color: #9cdcfe;&quot;&gt;$data&lt;/span&gt;[&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;students&#39;&lt;/span&gt;] = &lt;span style=&quot;color: #9cdcfe;&quot;&gt;$model&lt;/span&gt;-&amp;gt;&lt;span style=&quot;color: #dcdcaa;&quot;&gt;where&lt;/span&gt;(&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;is_deleted&#39;&lt;/span&gt;,&lt;span style=&quot;color: #b5cea8;&quot;&gt;0&lt;/span&gt;)-&amp;gt;&lt;span style=&quot;color: #dcdcaa;&quot;&gt;findAll&lt;/span&gt;();&lt;/div&gt;&lt;div&gt;        &lt;span style=&quot;color: #c586c0;&quot;&gt;return&lt;/span&gt; &lt;span style=&quot;color: #569cd6;&quot;&gt;$this&lt;/span&gt;-&amp;gt;&lt;span style=&quot;color: #9cdcfe;&quot;&gt;response&lt;/span&gt;-&amp;gt;&lt;span style=&quot;color: #dcdcaa;&quot;&gt;setJSON&lt;/span&gt;(&lt;span style=&quot;color: #9cdcfe;&quot;&gt;$data&lt;/span&gt;);&lt;/div&gt;&lt;div&gt;    }&lt;/div&gt;&lt;br /&gt;&lt;div&gt;    &lt;span style=&quot;color: #569cd6;&quot;&gt;public&lt;/span&gt; &lt;span style=&quot;color: #569cd6;&quot;&gt;function&lt;/span&gt; &lt;span style=&quot;color: #dcdcaa;&quot;&gt;removedata&lt;/span&gt;(){&lt;/div&gt;&lt;div&gt;        &lt;span style=&quot;color: #9cdcfe;&quot;&gt;$model&lt;/span&gt; = &lt;span style=&quot;color: #569cd6;&quot;&gt;new&lt;/span&gt; &lt;span style=&quot;color: #4ec9b0;&quot;&gt;StudentModel&lt;/span&gt;();&lt;/div&gt;&lt;div&gt;       &lt;span style=&quot;color: #9cdcfe;&quot;&gt;$id&lt;/span&gt; = &lt;span style=&quot;color: #569cd6;&quot;&gt;$this&lt;/span&gt;-&amp;gt;&lt;span style=&quot;color: #9cdcfe;&quot;&gt;request&lt;/span&gt;-&amp;gt;&lt;span style=&quot;color: #dcdcaa;&quot;&gt;getPost&lt;/span&gt;(&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;id&#39;&lt;/span&gt;); &lt;/div&gt;&lt;div&gt;       &lt;span style=&quot;color: #9cdcfe;&quot;&gt;$data&lt;/span&gt; =  &lt;span style=&quot;color: #dcdcaa;&quot;&gt;array&lt;/span&gt;(&lt;/div&gt;&lt;div&gt;                &lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;is_deleted&#39;&lt;/span&gt; =&amp;gt; &lt;span style=&quot;color: #b5cea8;&quot;&gt;1&lt;/span&gt;&lt;/div&gt;&lt;div&gt;               );&lt;/div&gt;&lt;div&gt;        &lt;span style=&quot;color: #9cdcfe;&quot;&gt;$model&lt;/span&gt;-&amp;gt;&lt;span style=&quot;color: #dcdcaa;&quot;&gt;update&lt;/span&gt;(&lt;span style=&quot;color: #9cdcfe;&quot;&gt;$id&lt;/span&gt;,&lt;span style=&quot;color: #9cdcfe;&quot;&gt;$data&lt;/span&gt;);&lt;/div&gt;&lt;div&gt;        &lt;span style=&quot;color: #9cdcfe;&quot;&gt;$data&lt;/span&gt; = &lt;span style=&quot;color: #dcdcaa;&quot;&gt;array&lt;/span&gt;(&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;status&#39;&lt;/span&gt; =&amp;gt; &lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;Record Deleted Successfully..!&quot;&lt;/span&gt;);&lt;/div&gt;&lt;div&gt;        &lt;span style=&quot;color: #c586c0;&quot;&gt;return&lt;/span&gt; &lt;span style=&quot;color: #569cd6;&quot;&gt;$this&lt;/span&gt;-&amp;gt;&lt;span style=&quot;color: #9cdcfe;&quot;&gt;response&lt;/span&gt;-&amp;gt;&lt;span style=&quot;color: #dcdcaa;&quot;&gt;setJSON&lt;/span&gt;(&lt;span style=&quot;color: #9cdcfe;&quot;&gt;$data&lt;/span&gt;);&lt;/div&gt;&lt;br /&gt;&lt;div&gt;    }&lt;/div&gt;&lt;br /&gt;&lt;div&gt;    &lt;span style=&quot;color: #569cd6;&quot;&gt;public&lt;/span&gt; &lt;span style=&quot;color: #569cd6;&quot;&gt;function&lt;/span&gt; &lt;span style=&quot;color: #dcdcaa;&quot;&gt;editdata&lt;/span&gt;(){&lt;/div&gt;&lt;div&gt;        &lt;/div&gt;&lt;div&gt;        &lt;span style=&quot;color: #9cdcfe;&quot;&gt;$id&lt;/span&gt; = &lt;span style=&quot;color: #569cd6;&quot;&gt;$this&lt;/span&gt;-&amp;gt;&lt;span style=&quot;color: #9cdcfe;&quot;&gt;request&lt;/span&gt;-&amp;gt;&lt;span style=&quot;color: #dcdcaa;&quot;&gt;getPost&lt;/span&gt;(&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;id&#39;&lt;/span&gt;);&lt;/div&gt;&lt;div&gt;        &lt;span style=&quot;color: #9cdcfe;&quot;&gt;$model&lt;/span&gt; = &lt;span style=&quot;color: #569cd6;&quot;&gt;new&lt;/span&gt; &lt;span style=&quot;color: #4ec9b0;&quot;&gt;StudentModel&lt;/span&gt;();&lt;/div&gt;&lt;div&gt;        &lt;span style=&quot;color: #9cdcfe;&quot;&gt;$data&lt;/span&gt;[&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;records&#39;&lt;/span&gt;] = &lt;span style=&quot;color: #9cdcfe;&quot;&gt;$model&lt;/span&gt;-&amp;gt;&lt;span style=&quot;color: #dcdcaa;&quot;&gt;where&lt;/span&gt;(&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;id&#39;&lt;/span&gt;,&lt;span style=&quot;color: #9cdcfe;&quot;&gt;$id&lt;/span&gt;)-&amp;gt;&lt;span style=&quot;color: #dcdcaa;&quot;&gt;find&lt;/span&gt;();&lt;/div&gt;&lt;div&gt;        &lt;span style=&quot;color: #c586c0;&quot;&gt;return&lt;/span&gt; &lt;span style=&quot;color: #569cd6;&quot;&gt;$this&lt;/span&gt;-&amp;gt;&lt;span style=&quot;color: #9cdcfe;&quot;&gt;response&lt;/span&gt;-&amp;gt;&lt;span style=&quot;color: #dcdcaa;&quot;&gt;setJSON&lt;/span&gt;(&lt;span style=&quot;color: #9cdcfe;&quot;&gt;$data&lt;/span&gt;);&lt;/div&gt;&lt;div&gt;    }&lt;/div&gt;&lt;br /&gt;&lt;div&gt;    &lt;span style=&quot;color: #569cd6;&quot;&gt;public&lt;/span&gt; &lt;span style=&quot;color: #569cd6;&quot;&gt;function&lt;/span&gt; &lt;span style=&quot;color: #dcdcaa;&quot;&gt;updatedata&lt;/span&gt;(){&lt;/div&gt;&lt;div&gt;        &lt;span style=&quot;color: #9cdcfe;&quot;&gt;$model&lt;/span&gt; = &lt;span style=&quot;color: #569cd6;&quot;&gt;new&lt;/span&gt; &lt;span style=&quot;color: #4ec9b0;&quot;&gt;StudentModel&lt;/span&gt;();&lt;/div&gt;&lt;div&gt;        &lt;span style=&quot;color: #9cdcfe;&quot;&gt;$id&lt;/span&gt; = &lt;span style=&quot;color: #569cd6;&quot;&gt;$this&lt;/span&gt;-&amp;gt;&lt;span style=&quot;color: #9cdcfe;&quot;&gt;request&lt;/span&gt;-&amp;gt;&lt;span style=&quot;color: #dcdcaa;&quot;&gt;getPost&lt;/span&gt;(&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;id&#39;&lt;/span&gt;);&lt;/div&gt;&lt;div&gt;        &lt;span style=&quot;color: #9cdcfe;&quot;&gt;$data&lt;/span&gt; = &lt;span style=&quot;color: #dcdcaa;&quot;&gt;array&lt;/span&gt;(&lt;/div&gt;&lt;div&gt;        &lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;id&quot;&lt;/span&gt; =&amp;gt; &lt;span style=&quot;color: #569cd6;&quot;&gt;$this&lt;/span&gt;-&amp;gt;&lt;span style=&quot;color: #9cdcfe;&quot;&gt;request&lt;/span&gt;-&amp;gt;&lt;span style=&quot;color: #dcdcaa;&quot;&gt;getPost&lt;/span&gt;(&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;id&#39;&lt;/span&gt;),&lt;/div&gt;&lt;div&gt;        &lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;name&quot;&lt;/span&gt; =&amp;gt; &lt;span style=&quot;color: #569cd6;&quot;&gt;$this&lt;/span&gt;-&amp;gt;&lt;span style=&quot;color: #9cdcfe;&quot;&gt;request&lt;/span&gt;-&amp;gt;&lt;span style=&quot;color: #dcdcaa;&quot;&gt;getPost&lt;/span&gt;(&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;name&#39;&lt;/span&gt;),&lt;/div&gt;&lt;div&gt;        &lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;email&quot;&lt;/span&gt; =&amp;gt; &lt;span style=&quot;color: #569cd6;&quot;&gt;$this&lt;/span&gt;-&amp;gt;&lt;span style=&quot;color: #9cdcfe;&quot;&gt;request&lt;/span&gt;-&amp;gt;&lt;span style=&quot;color: #dcdcaa;&quot;&gt;getPost&lt;/span&gt;(&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;email&#39;&lt;/span&gt;),&lt;/div&gt;&lt;div&gt;        &lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;phone&quot;&lt;/span&gt; =&amp;gt; &lt;span style=&quot;color: #569cd6;&quot;&gt;$this&lt;/span&gt;-&amp;gt;&lt;span style=&quot;color: #9cdcfe;&quot;&gt;request&lt;/span&gt;-&amp;gt;&lt;span style=&quot;color: #dcdcaa;&quot;&gt;getPost&lt;/span&gt;(&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;phone&#39;&lt;/span&gt;),&lt;/div&gt;&lt;div&gt;        &lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;course&quot;&lt;/span&gt; =&amp;gt; &lt;span style=&quot;color: #569cd6;&quot;&gt;$this&lt;/span&gt;-&amp;gt;&lt;span style=&quot;color: #9cdcfe;&quot;&gt;request&lt;/span&gt;-&amp;gt;&lt;span style=&quot;color: #dcdcaa;&quot;&gt;getPost&lt;/span&gt;(&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;course&#39;&lt;/span&gt;)&lt;/div&gt;&lt;div&gt;        );&lt;/div&gt;&lt;br /&gt;&lt;div&gt;        &lt;span style=&quot;color: #9cdcfe;&quot;&gt;$model&lt;/span&gt;-&amp;gt;&lt;span style=&quot;color: #dcdcaa;&quot;&gt;where&lt;/span&gt;(&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;is_deleted&#39;&lt;/span&gt;,&lt;span style=&quot;color: #b5cea8;&quot;&gt;0&lt;/span&gt;)-&amp;gt;&lt;span style=&quot;color: #dcdcaa;&quot;&gt;update&lt;/span&gt;(&lt;span style=&quot;color: #9cdcfe;&quot;&gt;$id&lt;/span&gt;,&lt;span style=&quot;color: #9cdcfe;&quot;&gt;$data&lt;/span&gt;);&lt;/div&gt;&lt;div&gt;       &lt;span style=&quot;color: #9cdcfe;&quot;&gt;$data&lt;/span&gt;[&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;status&#39;&lt;/span&gt;] = &lt;span style=&quot;color: #dcdcaa;&quot;&gt;array&lt;/span&gt;(&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;status&#39;&lt;/span&gt;=&amp;gt;&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;record updated successfully...!&#39;&lt;/span&gt;);&lt;/div&gt;&lt;div&gt;       &lt;span style=&quot;color: #c586c0;&quot;&gt;return&lt;/span&gt; &lt;span style=&quot;color: #569cd6;&quot;&gt;$this&lt;/span&gt;-&amp;gt;&lt;span style=&quot;color: #9cdcfe;&quot;&gt;response&lt;/span&gt;-&amp;gt;&lt;span style=&quot;color: #dcdcaa;&quot;&gt;setJSON&lt;/span&gt;(&lt;span style=&quot;color: #9cdcfe;&quot;&gt;$data&lt;/span&gt;);&lt;/div&gt;&lt;div&gt;    }&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;}&lt;/div&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='https://technicalstudyon.blogspot.com/feeds/3998159917201957967/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://technicalstudyon.blogspot.com/2023/09/crud-with-ajax-and-jquery.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/1905934111533627271/posts/default/3998159917201957967'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/1905934111533627271/posts/default/3998159917201957967'/><link rel='alternate' type='text/html' href='https://technicalstudyon.blogspot.com/2023/09/crud-with-ajax-and-jquery.html' title='AJAX CRUD  WITH  DATATABLE AND JQUERY'/><author><name>Technicalstudy</name><uri>http://www.blogger.com/profile/17694642546870276675</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh42MZp7-RBwCwhLYSsq0Lqdnmu3nGVU4TJZYE-IvhvyagPch8yHMoOpZGHcWx3HFgVhcXYLCDQPKFrg2KaPQBRUIpTqkAplfClSawMZVGYrmRB-mTXkZW8SjgwQYjvt04X5Z8Sq3gS2EvUJfIvOSc650bLUl4E5tbzWJxNrx5i17wCfTm9By53PrH6FVU/s72-w426-h347-c/Screenshot%20from%202023-09-15%2012-47-03.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1905934111533627271.post-3734043782052674648</id><published>2023-09-15T12:11:00.007+05:30</published><updated>2023-09-19T21:13:19.622+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="Javascript &amp; jQuery"/><title type='text'>Javascript and JQuery Validation Regex Code by Condition</title><content type='html'>&lt;p style=&quot;text-align: justify;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-size: large;&quot;&gt;-Client Side Validation -&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;Point 1- Don&#39;t Contain Space :&lt;/b&gt;&lt;/p&gt;&lt;div style=&quot;background-color: #1e1e1e; color: #d4d4d4; font-family: &amp;quot;Droid Sans Mono&amp;quot;, &amp;quot;monospace&amp;quot;, monospace; font-size: 14px; line-height: 19px; white-space: pre;&quot;&gt;&lt;br /&gt;&lt;div&gt;&lt;div style=&quot;line-height: 19px;&quot;&gt;&lt;div&gt; &lt;span style=&quot;color: #569cd6;&quot;&gt;var&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;pattern&lt;/span&gt; =&lt;span style=&quot;color: #d16969;&quot;&gt; /&lt;/span&gt;&lt;span style=&quot;color: #dcdcaa;&quot;&gt;^&lt;/span&gt;&lt;span style=&quot;color: #d16969;&quot;&gt;\S&lt;/span&gt;&lt;span style=&quot;color: #d7ba7d;&quot;&gt;*&lt;/span&gt;&lt;span style=&quot;color: #dcdcaa;&quot;&gt;$&lt;/span&gt;&lt;span style=&quot;color: #d16969;&quot;&gt;/&lt;/span&gt;;&lt;/div&gt;&lt;div&gt;    &lt;span style=&quot;color: #569cd6;&quot;&gt;var&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;username&lt;/span&gt; = &lt;span style=&quot;color: #dcdcaa;&quot;&gt;$&lt;/span&gt;(&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;#username&quot;&lt;/span&gt;).&lt;span style=&quot;color: #dcdcaa;&quot;&gt;val&lt;/span&gt;();&lt;/div&gt;&lt;div&gt;    &lt;span style=&quot;color: #c586c0;&quot;&gt;if&lt;/span&gt;(&lt;span style=&quot;color: #9cdcfe;&quot;&gt;pattern&lt;/span&gt;.&lt;span style=&quot;color: #dcdcaa;&quot;&gt;test&lt;/span&gt;(&lt;span style=&quot;color: #9cdcfe;&quot;&gt;username&lt;/span&gt;))&lt;/div&gt;&lt;div&gt;    {&lt;/div&gt;&lt;div&gt;        &lt;span style=&quot;color: #dcdcaa;&quot;&gt;$&lt;/span&gt;(&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;.error-username&quot;&lt;/span&gt;).&lt;span style=&quot;color: #dcdcaa;&quot;&gt;css&lt;/span&gt;(&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;display&quot;&lt;/span&gt;, &lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;none&quot;&lt;/span&gt;);&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;    }&lt;/div&gt;&lt;div&gt;    &lt;span style=&quot;color: #c586c0;&quot;&gt;else&lt;/span&gt;&lt;/div&gt;&lt;div&gt;    {&lt;/div&gt;&lt;div&gt;   &lt;/div&gt;&lt;div&gt;        &lt;span style=&quot;color: #dcdcaa;&quot;&gt;$&lt;/span&gt;(&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;#username&quot;&lt;/span&gt;).&lt;span style=&quot;color: #dcdcaa;&quot;&gt;val&lt;/span&gt;(&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;&quot;&lt;/span&gt;);&lt;/div&gt;&lt;div&gt;        &lt;span style=&quot;color: #dcdcaa;&quot;&gt;$&lt;/span&gt;(&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;.error-username&quot;&lt;/span&gt;).&lt;span style=&quot;color: #dcdcaa;&quot;&gt;css&lt;/span&gt;(&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;color&quot;&lt;/span&gt;, &lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;red&quot;&lt;/span&gt;);&lt;/div&gt;&lt;div&gt;        &lt;span style=&quot;color: #dcdcaa;&quot;&gt;$&lt;/span&gt;(&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;.error-username&quot;&lt;/span&gt;).&lt;span style=&quot;color: #dcdcaa;&quot;&gt;css&lt;/span&gt;(&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;display&quot;&lt;/span&gt;, &lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;block&quot;&lt;/span&gt;);&lt;/div&gt;&lt;div&gt;      &lt;/div&gt;&lt;div&gt;    }&lt;/div&gt;&lt;div&gt;   });&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;p&gt;&lt;b&gt;Point 2 - Phone Validation :&amp;nbsp;&lt;/b&gt;&lt;/p&gt;&lt;div style=&quot;background-color: #1e1e1e; color: #d4d4d4; font-family: &amp;quot;Droid Sans Mono&amp;quot;, &amp;quot;monospace&amp;quot;, monospace; font-size: 14px; line-height: 19px; white-space: pre;&quot;&gt;&lt;div&gt;&lt;span style=&quot;color: #dcdcaa;&quot;&gt;$&lt;/span&gt;(&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;#phone&quot;&lt;/span&gt;).&lt;span style=&quot;color: #dcdcaa;&quot;&gt;blur&lt;/span&gt;(&lt;span style=&quot;color: #569cd6;&quot;&gt;function&lt;/span&gt;(){&lt;/div&gt;&lt;div&gt;    &lt;span style=&quot;color: #569cd6;&quot;&gt;var&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;pattern&lt;/span&gt; =&lt;span style=&quot;color: #d16969;&quot;&gt; /&lt;/span&gt;&lt;span style=&quot;color: #dcdcaa;&quot;&gt;^&lt;/span&gt;&lt;span style=&quot;color: #d16969;&quot;&gt;\d&lt;/span&gt;&lt;span style=&quot;color: #d7ba7d;&quot;&gt;{10}&lt;/span&gt;&lt;span style=&quot;color: #dcdcaa;&quot;&gt;$&lt;/span&gt;&lt;span style=&quot;color: #d16969;&quot;&gt;/&lt;/span&gt;;&lt;/div&gt;&lt;div&gt;    &lt;span style=&quot;color: #569cd6;&quot;&gt;var&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;phone&lt;/span&gt; = &lt;span style=&quot;color: #dcdcaa;&quot;&gt;$&lt;/span&gt;(&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;#phone&quot;&lt;/span&gt;).&lt;span style=&quot;color: #dcdcaa;&quot;&gt;val&lt;/span&gt;();&lt;/div&gt;&lt;div&gt;    &lt;span style=&quot;color: #c586c0;&quot;&gt;if&lt;/span&gt;(&lt;span style=&quot;color: #9cdcfe;&quot;&gt;pattern&lt;/span&gt;.&lt;span style=&quot;color: #dcdcaa;&quot;&gt;test&lt;/span&gt;(&lt;span style=&quot;color: #9cdcfe;&quot;&gt;phone&lt;/span&gt;))&lt;/div&gt;&lt;div&gt;    {&lt;/div&gt;&lt;div&gt;      &lt;span style=&quot;color: #6a9955;&quot;&gt;// alert(&quot;hello&quot;);&lt;/span&gt;&lt;/div&gt;&lt;div&gt;        &lt;span style=&quot;color: #dcdcaa;&quot;&gt;$&lt;/span&gt;(&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;#mobilecheck&quot;&lt;/span&gt;).&lt;span style=&quot;color: #dcdcaa;&quot;&gt;text&lt;/span&gt;(&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;&quot;&lt;/span&gt;);&lt;/div&gt;&lt;div&gt;        &lt;span style=&quot;color: #dcdcaa;&quot;&gt;$&lt;/span&gt;(&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;#mobilecheck&quot;&lt;/span&gt;).&lt;span style=&quot;color: #dcdcaa;&quot;&gt;css&lt;/span&gt;(&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;display&quot;&lt;/span&gt;, &lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;none&quot;&lt;/span&gt;);&lt;/div&gt;&lt;div&gt;        &lt;span style=&quot;color: #dcdcaa;&quot;&gt;$&lt;/span&gt;(&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;#validmobilecheck&quot;&lt;/span&gt;).&lt;span style=&quot;color: #dcdcaa;&quot;&gt;css&lt;/span&gt;(&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;display&quot;&lt;/span&gt;, &lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;block&quot;&lt;/span&gt;);&lt;/div&gt;&lt;div&gt;        &lt;span style=&quot;color: #dcdcaa;&quot;&gt;$&lt;/span&gt;(&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;.error-message&quot;&lt;/span&gt;).&lt;span style=&quot;color: #dcdcaa;&quot;&gt;css&lt;/span&gt;(&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;display&quot;&lt;/span&gt;, &lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;none&quot;&lt;/span&gt;);&lt;/div&gt;&lt;div&gt;        &lt;span style=&quot;color: #9cdcfe;&quot;&gt;teachphone&lt;/span&gt; = &lt;span style=&quot;color: #569cd6;&quot;&gt;true&lt;/span&gt;;&lt;/div&gt;&lt;div&gt;        &lt;span style=&quot;color: #9cdcfe;&quot;&gt;Editteachphone&lt;/span&gt; = &lt;span style=&quot;color: #569cd6;&quot;&gt;true&lt;/span&gt;;&lt;/div&gt;&lt;div&gt;    }&lt;/div&gt;&lt;div&gt;    &lt;span style=&quot;color: #c586c0;&quot;&gt;else&lt;/span&gt;&lt;/div&gt;&lt;div&gt;    {&lt;/div&gt;&lt;div&gt;        &lt;span style=&quot;color: #dcdcaa;&quot;&gt;$&lt;/span&gt;(&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;#mobilecheck&quot;&lt;/span&gt;).&lt;span style=&quot;color: #dcdcaa;&quot;&gt;text&lt;/span&gt;(&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;please enter numbers only&quot;&lt;/span&gt;);&lt;/div&gt;&lt;div&gt;        &lt;span style=&quot;color: #dcdcaa;&quot;&gt;$&lt;/span&gt;(&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;#mobilecheck&quot;&lt;/span&gt;).&lt;span style=&quot;color: #dcdcaa;&quot;&gt;css&lt;/span&gt;(&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;display&quot;&lt;/span&gt;, &lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;block&quot;&lt;/span&gt;);&lt;/div&gt;&lt;div&gt;        &lt;span style=&quot;color: #dcdcaa;&quot;&gt;$&lt;/span&gt;(&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;#validmobilecheck&quot;&lt;/span&gt;).&lt;span style=&quot;color: #dcdcaa;&quot;&gt;css&lt;/span&gt;(&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;display&quot;&lt;/span&gt;, &lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;none&quot;&lt;/span&gt;);&lt;/div&gt;&lt;div&gt;        &lt;span style=&quot;color: #9cdcfe;&quot;&gt;teachphone&lt;/span&gt; = &lt;span style=&quot;color: #569cd6;&quot;&gt;false&lt;/span&gt;;&lt;/div&gt;&lt;div&gt;        &lt;span style=&quot;color: #9cdcfe;&quot;&gt;Editteachphone&lt;/span&gt; = &lt;span style=&quot;color: #569cd6;&quot;&gt;false&lt;/span&gt;;&lt;/div&gt;&lt;div&gt;      &lt;/div&gt;&lt;div&gt;       &lt;/div&gt;&lt;div&gt;    }&lt;/div&gt;&lt;div&gt;});&lt;/div&gt;&lt;/div&gt;&lt;p&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;Point 3-&amp;nbsp; Alphabet and Space (Only character)&amp;nbsp;&lt;/b&gt;&lt;b&gt;Validation :&amp;nbsp;&lt;/b&gt;&lt;/p&gt;&lt;div style=&quot;background-color: #1e1e1e; color: #d4d4d4; font-family: &amp;quot;Droid Sans Mono&amp;quot;, &amp;quot;monospace&amp;quot;, monospace; font-size: 14px; line-height: 19px; white-space: pre;&quot;&gt;&lt;div&gt;&lt;span style=&quot;color: #dcdcaa;&quot;&gt;$&lt;/span&gt;(&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;#Intiprincipal&quot;&lt;/span&gt;).&lt;span style=&quot;color: #dcdcaa;&quot;&gt;blur&lt;/span&gt;(&lt;span style=&quot;color: #569cd6;&quot;&gt;function&lt;/span&gt;(){&lt;/div&gt;&lt;div&gt;    &lt;span style=&quot;color: #569cd6;&quot;&gt;var&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;onlycharacter&lt;/span&gt; =&lt;span style=&quot;color: #d16969;&quot;&gt;/&lt;/span&gt;&lt;span style=&quot;color: #dcdcaa;&quot;&gt;^&lt;/span&gt;&lt;span style=&quot;color: #ce9178;&quot;&gt;[&lt;/span&gt;&lt;span style=&quot;color: #d16969;&quot;&gt;a-zA-Z\s&lt;/span&gt;&lt;span style=&quot;color: #ce9178;&quot;&gt;]&lt;/span&gt;&lt;span style=&quot;color: #d7ba7d;&quot;&gt;+&lt;/span&gt;&lt;span style=&quot;color: #dcdcaa;&quot;&gt;$&lt;/span&gt;&lt;span style=&quot;color: #d16969;&quot;&gt;/&lt;/span&gt;;&lt;/div&gt;&lt;div&gt;  &lt;/div&gt;&lt;div&gt;    &lt;span style=&quot;color: #c586c0;&quot;&gt;if&lt;/span&gt;(!&lt;span style=&quot;color: #9cdcfe;&quot;&gt;onlycharacter&lt;/span&gt;.&lt;span style=&quot;color: #dcdcaa;&quot;&gt;test&lt;/span&gt;(&lt;span style=&quot;color: #9cdcfe;&quot;&gt;instituteadd&lt;/span&gt;))&lt;/div&gt;&lt;div&gt;       {&lt;/div&gt;&lt;div&gt;         &lt;span style=&quot;color: #dcdcaa;&quot;&gt;$&lt;/span&gt;(&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;#Instprincipal&#39;&lt;/span&gt;).&lt;span style=&quot;color: #dcdcaa;&quot;&gt;text&lt;/span&gt;(&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;Alphabet and space allowed&#39;&lt;/span&gt;);&lt;/div&gt;&lt;div&gt;         &lt;span style=&quot;color: #dcdcaa;&quot;&gt;$&lt;/span&gt;(&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;#Instprincipal&#39;&lt;/span&gt;).&lt;span style=&quot;color: #dcdcaa;&quot;&gt;css&lt;/span&gt;(&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;color&#39;&lt;/span&gt;,&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;red&#39;&lt;/span&gt;);&lt;/div&gt;&lt;div&gt;         &lt;span style=&quot;color: #dcdcaa;&quot;&gt;$&lt;/span&gt;(&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;#Instprincipal&#39;&lt;/span&gt;).&lt;span style=&quot;color: #dcdcaa;&quot;&gt;css&lt;/span&gt;(&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;display&#39;&lt;/span&gt;,&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;block&#39;&lt;/span&gt;);&lt;/div&gt;&lt;div&gt;         &lt;span style=&quot;color: #dcdcaa;&quot;&gt;$&lt;/span&gt;(&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;#Intiprincipal&#39;&lt;/span&gt;).&lt;span style=&quot;color: #dcdcaa;&quot;&gt;val&lt;/span&gt;(&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;&#39;&lt;/span&gt;);&lt;/div&gt;&lt;div&gt;       }&lt;span style=&quot;color: #c586c0;&quot;&gt;else&lt;/span&gt;{&lt;/div&gt;&lt;div&gt;           &lt;span style=&quot;color: #dcdcaa;&quot;&gt;$&lt;/span&gt;(&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;#Instprincipal&#39;&lt;/span&gt;).&lt;span style=&quot;color: #dcdcaa;&quot;&gt;text&lt;/span&gt;(&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;&#39;&lt;/span&gt;);&lt;/div&gt;&lt;div&gt;           &lt;span style=&quot;color: #dcdcaa;&quot;&gt;$&lt;/span&gt;(&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;#Instprincipal&#39;&lt;/span&gt;).&lt;span style=&quot;color: #dcdcaa;&quot;&gt;css&lt;/span&gt;(&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;display&#39;&lt;/span&gt;,&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;none&#39;&lt;/span&gt;);&lt;/div&gt;&lt;div&gt;       }&lt;/div&gt;&lt;div&gt;   &lt;/div&gt;&lt;div&gt;  });&lt;/div&gt;&lt;/div&gt;&lt;p&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;Point 4- Email Validation :&amp;nbsp;&lt;/b&gt;&lt;/p&gt;&lt;div style=&quot;background-color: #1e1e1e; color: #d4d4d4; font-family: &amp;quot;Droid Sans Mono&amp;quot;, &amp;quot;monospace&amp;quot;, monospace; font-size: 14px; line-height: 19px; white-space: pre;&quot;&gt;&lt;div style=&quot;line-height: 19px;&quot;&gt;&lt;br /&gt;&lt;div&gt;&lt;span style=&quot;color: #dcdcaa;&quot;&gt;$&lt;/span&gt;(&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;#email&quot;&lt;/span&gt;).&lt;span style=&quot;color: #dcdcaa;&quot;&gt;blur&lt;/span&gt;(&lt;span style=&quot;color: #569cd6;&quot;&gt;function&lt;/span&gt;() {&lt;/div&gt;&lt;div&gt;    &lt;span style=&quot;color: #569cd6;&quot;&gt;var&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;pattern&lt;/span&gt; =&lt;span style=&quot;color: #d16969;&quot;&gt; /&lt;/span&gt;&lt;span style=&quot;color: #dcdcaa;&quot;&gt;^&lt;/span&gt;&lt;span style=&quot;color: #d16969;&quot;&gt;\w&lt;/span&gt;&lt;span style=&quot;color: #d7ba7d;&quot;&gt;+&lt;/span&gt;&lt;span style=&quot;color: #ce9178;&quot;&gt;([&lt;/span&gt;&lt;span style=&quot;color: #d7ba7d;&quot;&gt;\.&lt;/span&gt;&lt;span style=&quot;color: #d16969;&quot;&gt;-&lt;/span&gt;&lt;span style=&quot;color: #ce9178;&quot;&gt;]&lt;/span&gt;&lt;span style=&quot;color: #d7ba7d;&quot;&gt;?&lt;/span&gt;&lt;span style=&quot;color: #d16969;&quot;&gt;\w&lt;/span&gt;&lt;span style=&quot;color: #d7ba7d;&quot;&gt;+&lt;/span&gt;&lt;span style=&quot;color: #ce9178;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;color: #d7ba7d;&quot;&gt;*&lt;/span&gt;&lt;span style=&quot;color: #d16969;&quot;&gt;@\w&lt;/span&gt;&lt;span style=&quot;color: #d7ba7d;&quot;&gt;+&lt;/span&gt;&lt;span style=&quot;color: #ce9178;&quot;&gt;([&lt;/span&gt;&lt;span style=&quot;color: #d7ba7d;&quot;&gt;\.&lt;/span&gt;&lt;span style=&quot;color: #d16969;&quot;&gt;-&lt;/span&gt;&lt;span style=&quot;color: #ce9178;&quot;&gt;]&lt;/span&gt;&lt;span style=&quot;color: #d7ba7d;&quot;&gt;?&lt;/span&gt;&lt;span style=&quot;color: #d16969;&quot;&gt;\w&lt;/span&gt;&lt;span style=&quot;color: #d7ba7d;&quot;&gt;+&lt;/span&gt;&lt;span style=&quot;color: #ce9178;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;color: #d7ba7d;&quot;&gt;*&lt;/span&gt;&lt;span style=&quot;color: #ce9178;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #d7ba7d;&quot;&gt;\.&lt;/span&gt;&lt;span style=&quot;color: #d16969;&quot;&gt;\w&lt;/span&gt;&lt;span style=&quot;color: #d7ba7d;&quot;&gt;{2,3}&lt;/span&gt;&lt;span style=&quot;color: #ce9178;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;color: #d7ba7d;&quot;&gt;+&lt;/span&gt;&lt;span style=&quot;color: #dcdcaa;&quot;&gt;$&lt;/span&gt;&lt;span style=&quot;color: #d16969;&quot;&gt;/&lt;/span&gt;;&lt;/div&gt;&lt;div&gt;    &lt;span style=&quot;color: #569cd6;&quot;&gt;var&lt;/span&gt; &lt;span style=&quot;color: #9cdcfe;&quot;&gt;email&lt;/span&gt; = &lt;span style=&quot;color: #dcdcaa;&quot;&gt;$&lt;/span&gt;(&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;#email&quot;&lt;/span&gt;).&lt;span style=&quot;color: #dcdcaa;&quot;&gt;val&lt;/span&gt;();&lt;/div&gt;&lt;div&gt;    &lt;span style=&quot;color: #c586c0;&quot;&gt;if&lt;/span&gt;(&lt;span style=&quot;color: #9cdcfe;&quot;&gt;pattern&lt;/span&gt;.&lt;span style=&quot;color: #dcdcaa;&quot;&gt;test&lt;/span&gt;(&lt;span style=&quot;color: #9cdcfe;&quot;&gt;email&lt;/span&gt;))&lt;/div&gt;&lt;div&gt;    {&lt;/div&gt;&lt;div&gt;        &lt;span style=&quot;color: #dcdcaa;&quot;&gt;$&lt;/span&gt;(&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;#emailcheck&quot;&lt;/span&gt;).&lt;span style=&quot;color: #dcdcaa;&quot;&gt;text&lt;/span&gt;(&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;&quot;&lt;/span&gt;);&lt;/div&gt;&lt;div&gt;        &lt;span style=&quot;color: #dcdcaa;&quot;&gt;$&lt;/span&gt;(&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;#emailcheck&quot;&lt;/span&gt;).&lt;span style=&quot;color: #dcdcaa;&quot;&gt;css&lt;/span&gt;(&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;display&quot;&lt;/span&gt;, &lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;none&quot;&lt;/span&gt;);&lt;/div&gt;&lt;div&gt;        &lt;span style=&quot;color: #dcdcaa;&quot;&gt;$&lt;/span&gt;(&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;#validemailcheck&quot;&lt;/span&gt;).&lt;span style=&quot;color: #dcdcaa;&quot;&gt;css&lt;/span&gt;(&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;display&quot;&lt;/span&gt;, &lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;block&quot;&lt;/span&gt;);&lt;/div&gt;&lt;div&gt;       &lt;/div&gt;&lt;div&gt;    }&lt;/div&gt;&lt;div&gt;    &lt;span style=&quot;color: #c586c0;&quot;&gt;else&lt;/span&gt;&lt;/div&gt;&lt;div&gt;    {&lt;/div&gt;&lt;div&gt;        &lt;span style=&quot;color: #dcdcaa;&quot;&gt;$&lt;/span&gt;(&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;#emailcheck&quot;&lt;/span&gt;).&lt;span style=&quot;color: #dcdcaa;&quot;&gt;text&lt;/span&gt;(&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;please enter valid email&quot;&lt;/span&gt;);&lt;/div&gt;&lt;div&gt;        &lt;span style=&quot;color: #dcdcaa;&quot;&gt;$&lt;/span&gt;(&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;#emailcheck&quot;&lt;/span&gt;).&lt;span style=&quot;color: #dcdcaa;&quot;&gt;css&lt;/span&gt;(&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;color&#39;&lt;/span&gt;,&lt;span style=&quot;color: #ce9178;&quot;&gt;&#39;red&#39;&lt;/span&gt;);&lt;/div&gt;&lt;div&gt;        &lt;span style=&quot;color: #dcdcaa;&quot;&gt;$&lt;/span&gt;(&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;#emailcheck&quot;&lt;/span&gt;).&lt;span style=&quot;color: #dcdcaa;&quot;&gt;css&lt;/span&gt;(&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;display&quot;&lt;/span&gt;, &lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;block&quot;&lt;/span&gt;);&lt;/div&gt;&lt;div&gt;        &lt;span style=&quot;color: #dcdcaa;&quot;&gt;$&lt;/span&gt;(&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;#validemailcheck&quot;&lt;/span&gt;).&lt;span style=&quot;color: #dcdcaa;&quot;&gt;css&lt;/span&gt;(&lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;display&quot;&lt;/span&gt;, &lt;span style=&quot;color: #ce9178;&quot;&gt;&quot;none&quot;&lt;/span&gt;);&lt;/div&gt;&lt;div&gt;        &lt;/div&gt;&lt;div&gt;    }&lt;/div&gt;&lt;div&gt;});&lt;/div&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;




</content><link rel='replies' type='application/atom+xml' href='https://technicalstudyon.blogspot.com/feeds/3734043782052674648/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://technicalstudyon.blogspot.com/2023/09/javascript-and-jquery-validation-regex.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/1905934111533627271/posts/default/3734043782052674648'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/1905934111533627271/posts/default/3734043782052674648'/><link rel='alternate' type='text/html' href='https://technicalstudyon.blogspot.com/2023/09/javascript-and-jquery-validation-regex.html' title='Javascript and JQuery Validation Regex Code by Condition'/><author><name>Technicalstudy</name><uri>http://www.blogger.com/profile/17694642546870276675</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>