mirror of
https://github.com/itflow-org/itflow
synced 2026-03-01 03:14:52 +00:00
Moved more edit add vars to models
This commit is contained in:
13
models/client_locations.php
Normal file
13
models/client_locations.php
Normal file
@@ -0,0 +1,13 @@
|
||||
<?php
|
||||
$client_id = intval($_POST['client_id']);
|
||||
$name = sanitizeInput($_POST['name']);
|
||||
$country = sanitizeInput($_POST['country']);
|
||||
$address = sanitizeInput($_POST['address']);
|
||||
$city = sanitizeInput($_POST['city']);
|
||||
$state = sanitizeInput($_POST['state']);
|
||||
$zip = sanitizeInput($_POST['zip']);
|
||||
$phone = preg_replace("/[^0-9]/", '',$_POST['phone']);
|
||||
$hours = sanitizeInput($_POST['hours']);
|
||||
$notes = sanitizeInput($_POST['notes']);
|
||||
$contact = intval($_POST['contact']);
|
||||
$primary_location = intval($_POST['primary_location']);
|
||||
Reference in New Issue
Block a user