Čempionatas - PHP Online
Form of PHP Sandbox
*** This page was generated with the meta tag "noindex, nofollow". This happened because you selected this option before saving or the system detected it as spam. This means that this page will never get into the search engines and the search bot will not crawl it. There is nothing to worry about, you can still share it with anyone.
Enter Your PHP code here for testing/debugging in the Online PHP Sandbox. As in the usual PHP files, you can also add HTML, but do not forget to add the tag <?php
in the places where the PHP script should be executed.
Result of php executing
Full code of Čempionatas.php
- <?php
- $user='root';
- $pass='';
- $dbh=new PDO('mysql:host=localhost;dbname=Čempionatas',$user,$pass);
- if(!$dbh)
- echo "connection with database failed!";
- ?>
- <!DOCTYPE html>
- <html lang="en">
- <head>
- <meta charset="UTF-8">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <meta http-equiv="X-UA-Compatible" content="ie=edge">
- <meta name="Description" content="Enter your description here"/>
- <link rel="stylesheet" href="css/bootstrap.min.css">
- <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.0/css/all.min.css">
- <link rel="stylesheet" href="css/style.css">
- <title>Hotel</title>
- </head>
- <body>
- <h1 class="text-center m-4">Rónald Gómez</h1>
- <ul class="navbar-nav text-center" style="margin-left: 400px;">
- <li class="nav-item">
- <a class="nav-link act" href="index.php" >Pagrindinis</a>
- </li>
- <li class="nav-item ">
- <a class="nav-link act " href="room_reservation.php">Kambario užsakymas</a>
- </a>
- </li>
- <li class="nav-item ">
- <a class="nav-link act " href="customer_info.php">Klientų informacija</a>
- </li>
- <li class="nav-item ">
- <a class="nav-link act active" href="classes.php" active>Klasės</a>
- </li>
- <li class="nav-item vertical-line">
- <a class="nav-link act " href="room_numbers.php">Kambarių numeriai</a>
- </li>
- <li class="nav-item vertical-line">
- <a class="nav-link act " href="places.php">Vietos</a>
- </li>
- <li class="nav-item vertical-line">
- <a class="nav-link act " href="queries.php">Užklausos</a>
- </li>
- </ul>
- </body>
- </html>
File Description
- Čempionatas
- PHP Code
- 22 Jan-2021
- 1.75 Kb
You can Share it:
Latest PHP Pastes