Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
P
PA1-1617-D3TI107
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Franciskus Partogu Hamonangan Napitupulu
PA1-1617-D3TI107
Commits
416043ba
Commit
416043ba
authored
May 26, 2017
by
Franciskus Partogu Hamonangan Napitupulu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dropdown
parent
7575fa5d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
1 deletion
+10
-1
addbook.php
addbook.php
+10
-1
No files found.
addbook.php
View file @
416043ba
...
...
@@ -24,7 +24,16 @@
<input
type=
"text"
name=
"judul"
placeholder=
"Judul Buku"
required=
" "
><br>
<input
type=
"text"
name=
"pengarang"
placeholder=
"Nama Pengarang"
required=
" "
><br>
<input
type=
"text"
name=
"penerbit"
placeholder=
"Nama Penerbit"
required=
" "
><br>
<input
type=
"text"
name=
"kategori"
placeholder=
"Kategori Buku"
required=
" "
><br>
<select
class=
"form-control"
name=
"kategori"
>
<?php
$kategori
=
mysqli_query
(
$koneksi
,
"SELECT * FROM t_kategori ORDER BY id_kategori"
);
while
(
$pilih
=
mysqli_fetch_array
(
$kategori
))
{
?>
<option
value=
"
<?=
$pilih
[
'id_kategori'
];
?>
"
><i
class=
"fa fa-arrow-right"
aria-hidden=
"true"
></i>
<?php
echo
$pilih
[
'nama_kategori'
];
?>
</option>
<?php
}
?>
</select><br>
<input
type=
"text"
name=
"tahun"
placeholder=
"Tahun Terbit"
required=
" "
><br>
<input
type=
"text"
name=
"harga"
placeholder=
"Harga per Eksemplar"
required=
" "
><br>
<input
type=
"text"
name=
"jumlah"
placeholder=
"Jumlah Tersedia"
required=
" "
><br>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment