Skip to content

Instantly share code, notes, and snippets.

View less-code's full-sized avatar

Wojciech Filipek Less Code less-code

  • Less Code
View GitHub Profile
public function streamliner_make_reservation($obj) {
Webseco_Streamliner_Session::streamliner_start_session();
$input = isset($_REQUEST['input']) ? $_REQUEST['input'] : [];
$reservation = [];
foreach ($input as $thing) {
$reservation[$thing['name']] = $thing['value'];
}