Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
P
PondokEdo
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
Roy Junedi Simamora
PondokEdo
Commits
a385de1e
Commit
a385de1e
authored
May 12, 2017
by
Mei Romauli Sagala
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
perubahan nama database
parent
71ba685f
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
cek_login.php
cek_login.php
+1
-1
koneksi.php
koneksi.php
+1
-1
No files found.
cek_login.php
View file @
a385de1e
...
@@ -4,7 +4,7 @@ global $con;
...
@@ -4,7 +4,7 @@ global $con;
if
(
!
$con
)
{
if
(
!
$con
)
{
die
(
"database connect problem"
);
die
(
"database connect problem"
);
}
}
$db_use
=
mysqli_select_db
(
$con
,
"
mydb
"
)
or
die
(
"selet db problem !!"
);
$db_use
=
mysqli_select_db
(
$con
,
"
p1d3ti04_pondokedo
"
)
or
die
(
"selet db problem !!"
);
function
execQ
(
$strQ
){
function
execQ
(
$strQ
){
global
$con
;
global
$con
;
...
...
koneksi.php
View file @
a385de1e
...
@@ -2,6 +2,6 @@
...
@@ -2,6 +2,6 @@
$host
=
"127.0.0.1"
;
$host
=
"127.0.0.1"
;
$user
=
"root"
;
$user
=
"root"
;
$pass
=
""
;
$pass
=
""
;
$name
=
"
mydb
"
;
$name
=
"
p1d3ti04_pondokedo
"
;
$koneksi
=
mysql_connect
(
$host
,
$user
,
$pass
)
or
die
(
"Koneksi ke database gagal!"
);
$koneksi
=
mysql_connect
(
$host
,
$user
,
$pass
)
or
die
(
"Koneksi ke database gagal!"
);
mysql_select_db
(
$name
,
$koneksi
)
or
die
(
"Tidak ada database yang dipilih!"
);
mysql_select_db
(
$name
,
$koneksi
)
or
die
(
"Tidak ada database yang dipilih!"
);
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