Files
itflow/models/quote.php
Marcus Hill 7bcb2f1c8c POST input deduplication/'models'
- Ongoing deduplication/conversion of post.php to use re-usable 'models' for input
- Also converting file upload checks to use a function instead
2023-02-13 00:02:23 +00:00

5 lines
204 B
PHP

<?php
$date = trim(strip_tags(mysqli_real_escape_string($mysqli, $_POST['date'])));
$category = intval($_POST['category']);
$scope = trim(strip_tags(mysqli_real_escape_string($mysqli, $_POST['scope'])));