Skip to content

Instantly share code, notes, and snippets.

Marc Cavada mocavada

Block or report user

Report or block mocavada

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
mocavada / index.php
Last active Jan 3, 2018
Online Store
View index.php
require( 'includes/' );
$query = "SELECT * FROM Products";
$result = mysqli_query( $db, $query ) or die(mysqli_error($db) . '<br />' . $query );
<!doctype html>
<html lang="en">
View index.html
// load configuration settings
require( 'includes/' );
// load helpful functions into memory
require( 'includes/' );
// check login status
$logged_in = false;
You can’t perform that action at this time.