Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
T
TB_Center
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
Andry F. Hutapea
TB_Center
Commits
a0a6632c
Commit
a0a6632c
authored
Jun 07, 2017
by
josua
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
no message
parent
8eb9097e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
23 additions
and
0 deletions
+23
-0
delete_process.php
delete_process.php
+23
-0
No files found.
delete_process.php
0 → 100644
View file @
a0a6632c
<?php
session_start
();
include_once
(
'config/koneksi.php'
);
// retrieve posted form data
$id
=
$_POST
[
'id'
];
$nama
=
$_POST
[
'nama'
];
$desc
=
$_POST
[
'desc'
];
$image
=
$_POST
[
'image'
];
$database
=
new
mysqli
(
'localhost'
,
'root'
,
''
,
'tb silalahi'
);
$delete
=
"DELETE FROM koleksi WHERE id='
$id
'"
;
$id
=
$_GET
[
'id'
];
$statement
=
$database
->
prepare
(
$delete
);
$statement
->
bind_param
(
'iissdss'
,
$id
,
$author_id
,
$publisher_id
,
$isbn
,
$title
,
$price
,
$year
,
$description
);
$statement
->
execute
();
redirect
(
'koleksi.php'
);
?>
\ No newline at end of file
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