[sql] Easiride
Viewer
*** 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.
- CREATE DATABASE `Paschal` CHARACTER SET armscii8 COLLATE armscii8_bin
- <?php
- // INDEX.php (Welcome Page)
- // Include any necessary files OR libraries here
- // Initialize SESSION (IF needed)
- session_start();
- // CHECK IF the USER IS already logged IN (you can customize this logic)
- IF (isset($_SESSION['user_id'])) {
- // Redirect TO the dashboard OR home page
- header('Location: dashboard.php');
- exit;
- }
- // Your DATABASE connection details (UPDATE WITH your own)
- $host = 'localhost';
- $username = 'your_db_username';
- $password = 'your_db_password';
- $database = 'your_db_name';
- // CONNECT TO the DATABASE
- $conn = mysqli_connect($host, $username, $password, $database);
- // CHECK IF the connection was successful
- IF (!$conn) {
- die('Database connection failed: ' . mysqli_connect_error());
- }
- // Display the welcome page HTML
- ?>
- <!DOCTYPE html>
- <html lang="en">
- <head>
- <meta charset="UTF-8">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <title>Welcome TO Our Taxi App</title>
- <link rel="stylesheet" href="styles.css"> <!-- You can link to your CSS file here -->
- </head>
- <body>
- <header>
- <h1>Welcome TO Our Taxi Service</h1>
- <p>Your Reliable Ride Anytime, Anywhere</p>
- </header>
- <main>
- <SECTION class="features">
- <!-- Add feature descriptions here -->
- <div class="feature">
- <img src="images/book-taxi.png" alt="Book a Taxi">
- <h2>Book a Taxi</h2>
- <p>Quickly book a taxi FOR your NEXT ride.</p>
- </div>
- <div class="feature">
- <img src="images/track-taxi.png" alt="Track Your Taxi">
- <h2>Track Your Taxi</h2>
- <p>Real-TIME tracking TO know WHERE your taxi IS.</p>
- </div>
- <!-- Add more features as needed -->
- </section>
- <SECTION class="cta">
- <h2>Ready TO GET Started?</h2>
- <p>Download our app AND enjoy hassle-free rides!</p>
- <a href="download.php" class="btn">Download Now</a> <!-- Link to your app download page -->
- </section>
- </main>
- <footer>
- <p>© 2024 TaxiApp. ALL rights reserved.</p>
- </footer>
- </body>
- </html>
- <?php
- // Close the DATABASE connection
- mysqli_close($conn);
- ?>
Editor
You can edit this paste and save as new: