Skip to content

Instantly share code, notes, and snippets.

@FoxRocks76
FoxRocks76 / shift_update.php
Created November 29, 2012 05:57 — forked from andho/shift_update.php
code for andho
<?php
if(isset($_POST['submit']))
{
if(isset($_POST['offdays']))
{
//$off is set through the config settings//
$shift = $_POST['shift'];
$from = $_POST['from'];
$to = $_POST['to'];
@FoxRocks76
FoxRocks76 / updated code
Created November 29, 2012 04:20
code for andho
if(isset($_POST['submit']))
{
if(isset($_POST['offdays']))
{
//$off is set through the config settings//
$shift = $_POST['shift'];
$from = $_POST['from'];
$to = $_POST['to'];
$emp_id = $_POST['emp_id'];