Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
P
PA1-1617-D3TI05
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
Fredrick Mangampu Theodorus Pardosi
PA1-1617-D3TI05
Commits
a14458d1
Commit
a14458d1
authored
May 22, 2017
by
Fredrick Mangampu Theodorus Pardosi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mengedit
parent
7cd4eede
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
fungsi.php
functions/fungsi.php
+1
-1
index.php
index.php
+2
-2
No files found.
functions/fungsi.php
View file @
a14458d1
...
...
@@ -9,7 +9,7 @@ global $conn;
function
execQ
(
$strQ
){
global
$conn
;
$res
=
mysqli_query
(
$
strQ
,
$conn
);
$res
=
mysqli_query
(
$
conn
,
$strQ
);
return
$res
;
}
...
...
index.php
View file @
a14458d1
...
...
@@ -93,8 +93,8 @@ include_once 'connection/koneksi.php';
<?php
$per_hal
=
10
;
$jumlah_record
=
mysql
_query
(
"SELECT COUNT(*) from menu"
);
$jum
=
mysql_result
(
$jumlah_record
,
0
);
$jumlah_record
=
mysql
i_query
(
$conn
,
"SELECT COUNT(*) from menu"
);
$jum
=
mysql
i
_result
(
$jumlah_record
,
0
);
$halaman
=
ceil
(
$jum
/
$per_hal
);
$page
=
(
isset
(
$_GET
[
'page'
]))
?
(
int
)
$_GET
[
'page'
]
:
1
;
$start
=
(
$page
-
1
)
*
$per_hal
;
...
...
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