This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// load configuration settings | |
require( 'includes/config.inc.php' ); | |
// load helpful functions into memory | |
require( 'includes/functions.inc.php' ); | |
// check login status | |
$logged_in = false; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
require( 'includes/config.inc.php' ); | |
$query = "SELECT * FROM Products"; | |
$result = mysqli_query( $db, $query ) or die(mysqli_error($db) . '<br />' . $query ); | |
?> | |
<!doctype html> | |
<html lang="en"> |