Skip to content

Instantly share code, notes, and snippets.

View Mshriver2's full-sized avatar
💭
$code = $newcode->writeAll();

Mshriver2

💭
$code = $newcode->writeAll();
View GitHub Profile
@Mshriver2
Mshriver2 / index.php
Last active January 28, 2020 05:42
Record the order of HTML button clicks on a webpage using PHP sessions
<?php
session_start();
if(!isset($_SESSION['clickOrder'])){
$_SESSION['clickOrder'] = array();
} elseif (!isset($_SESSION['currentLevel'])) {