Commit 0b8b5a11 by Ryo

Updated payment1.php

parent 0206352e
Showing with 4 additions and 3 deletions
......@@ -284,6 +284,7 @@ include('session.php');
<ul>
<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 href="contact.php">Contact</a></li>
<li><a href="user_login.php">Login</a></li>
......@@ -309,7 +310,7 @@ include('session.php');
$password_value = $_SESSION['password'];
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()) {
echo "Failed to connect to MySQL: " . mysqli_connect_error();
......@@ -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>
<?php
// 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
if (mysqli_connect_errno()){
......@@ -400,7 +401,7 @@ include('session.php');
//mysql_query($sql1, $con);
$con = mysqli_connect(localhost, root, root, Airline_Booking, 8889);
$con = mysqli_connect("anysql.itcollege.ee", "WT16", "iLtQlUerkT", "WT16");
// Check connection
if (mysqli_connect_errno()) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment