Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
ruzalo
/
airline-booking
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
0b8b5a11
authored
May 05, 2020
by
Ryo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Updated payment1.php
parent
0206352e
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
payment1.php
payment1.php
View file @
0b8b5a11
...
@@ -284,6 +284,7 @@ include('session.php');
...
@@ -284,6 +284,7 @@ include('session.php');
<ul>
<ul>
<li><a
href=
"index.php"
>
Home
</a></li>
<li><a
href=
"index.php"
>
Home
</a></li>
<li><a
href=
"countrypage.html"
>
Countries
</a></li>
<li><a
class=
"active"
href=
"booking_page.php"
>
Booking
</a></li>
<li><a
class=
"active"
href=
"booking_page.php"
>
Booking
</a></li>
<li><a
href=
"contact.php"
>
Contact
</a></li>
<li><a
href=
"contact.php"
>
Contact
</a></li>
<li><a
href=
"user_login.php"
>
Login
</a></li>
<li><a
href=
"user_login.php"
>
Login
</a></li>
...
@@ -309,7 +310,7 @@ include('session.php');
...
@@ -309,7 +310,7 @@ include('session.php');
$password_value
=
$_SESSION
[
'password'
];
$password_value
=
$_SESSION
[
'password'
];
echo
$password_value
;
echo
$password_value
;
$con2
=
mysqli_connect
(
localhost
,
root
,
root
,
Airline_Booking
,
8889
);
$con2
=
mysqli_connect
(
"anysql.itcollege.ee"
,
"WT16"
,
"iLtQlUerkT"
,
"WT16"
);
if
(
mysqli_connect_errno
())
{
if
(
mysqli_connect_errno
())
{
echo
"Failed to connect to MySQL: "
.
mysqli_connect_error
();
echo
"Failed to connect to MySQL: "
.
mysqli_connect_error
();
...
@@ -361,7 +362,7 @@ include('session.php');
...
@@ -361,7 +362,7 @@ include('session.php');
<p>
Please confirm your order. If you would like to cancel the order please click on the "Logout" button on the top right hand corner.
</p>
<p>
Please confirm your order. If you would like to cancel the order please click on the "Logout" button on the top right hand corner.
</p>
<?php
<?php
// Otherwise we connect to the database
// Otherwise we connect to the database
$con1
=
mysqli_connect
(
localhost
,
root
,
root
,
Airline_Booking
,
8889
);
$con1
=
mysqli_connect
(
"anysql.itcollege.ee"
,
"WT16"
,
"iLtQlUerkT"
,
"WT16"
);
// Check connection
// Check connection
if
(
mysqli_connect_errno
()){
if
(
mysqli_connect_errno
()){
...
@@ -400,7 +401,7 @@ include('session.php');
...
@@ -400,7 +401,7 @@ include('session.php');
//mysql_query($sql1, $con);
//mysql_query($sql1, $con);
$con
=
mysqli_connect
(
localhost
,
root
,
root
,
Airline_Booking
,
8889
);
$con
=
mysqli_connect
(
"anysql.itcollege.ee"
,
"WT16"
,
"iLtQlUerkT"
,
"WT16"
);
// Check connection
// Check connection
if
(
mysqli_connect_errno
())
{
if
(
mysqli_connect_errno
())
{
...
...
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