0% found this document useful (0 votes)
74 views

DOCTYPE HTML-WPS Office

This document provides instructions for adding new data to a database using CodeIgniter. It includes an HTML form with fields for name, address, and occupation. The form has an action attribute specifying a CRUD controller add method and submits via POST to add new records.

Uploaded by

KONJONESIA
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
74 views

DOCTYPE HTML-WPS Office

This document provides instructions for adding new data to a database using CodeIgniter. It includes an HTML form with fields for name, address, and occupation. The form has an action attribute specifying a CRUD controller add method and submits via POST to add new records.

Uploaded by

KONJONESIA
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

<!

DOCTYPEht
ml>

<ht
ml>

<head>

<t
it
le>MembuatCRUDdenganCodeI
gni
ter|
Mal
asNgodi
ng.
com</
ti
tl
e>

</
head>

<body
>

<cent
er>

<h1>MembuatCRUDdenganCodeI
gni
ter|
Mal
asNgodi
ng.
com</
h1>

<h3>Tambahdat
abar
u</
h3>

</
cent
er>

<f
orm act
ion="
<?phpechobase_
url
()
.'cr
ud/
tambah_
aksi
'
;?>"met
hod="
post
">

<t
abl
est
yle="
mar
gin:
20pxaut
o;"
>

<t
r>

<t
d>Nama</
td>

<t
d><i
nputt
ype="
text
"name="
nama"
></
td>

</
tr>

<t
r>

<t
d>Al
amat
</t
d>

<t
d><i
nputt
ype="
text
"name="
alamat
"></
td>

</
tr>

<t
r>

<t
d>Peker
jaan</
td>

<t
d><i
nputt
ype="
text
"name="
peker
jaan"
></
td>

</
tr>

<t
r>
<t
d></
td>

<t
d><i
nputt
ype="
submi
t"v
alue="
Tambah"
></
td>

</
tr>

</
tabl
e>

</
for
m>

</
body
>

</
html
>

You might also like