forked from khoegenauer/tickets-cad
-
Notifications
You must be signed in to change notification settings - Fork 0
/
do_get_line_ct.php
18 lines (17 loc) · 691 Bytes
/
do_get_line_ct.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
<?php
/**
* @package do_get_line_ct.php
* @author John Doe <[email protected]>
* @since 2010-04-05
* @version 2010-07-28
*/
/*
4/5/10 initial release
7/28/10 Added inclusion of startup.inc.php for checking of network status and setting of file name variables to support no-maps versions of scripts.
*/
error_reporting(E_ALL);
@session_start();
require_once($_SESSION['fip']); //7/28/10
$query = "SELECT *,UNIX_TIMESTAMP(as_of) AS as_of FROM `$GLOBALS[mysql_prefix]assigns` WHERE `clear` IS NULL OR DATE_FORMAT(`clear`,'%y') = '00' ";
$result = mysql_query($query) or do_error($query, 'mysql query failed', mysql_error(), basename(__FILE__), __LINE__);
print mysql_affected_rows();