Changeset 13038 for trunk/include/dblayer/functions_mysql.inc.php
- Timestamp:
- Feb 6, 2012, 9:59:20 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/dblayer/functions_mysql.inc.php
r12922 r13038 85 85 global $conf,$page,$debug,$t2; 86 86 87 $start = get_moment();87 $start = microtime(true); 88 88 ($result = mysql_query($query)) or my_error($query, $conf['die_on_sql_error']); 89 89 90 $time = get_moment() - $start;90 $time = microtime(true) - $start; 91 91 92 92 if (!isset($page['count_queries'])) … … 200 200 while ($row = mysql_fetch_assoc($result)) 201 201 { 202 array_push($array, $row[$fieldname]);202 $array[] = $row[$fieldname]; 203 203 } 204 204
Note: See TracChangeset
for help on using the changeset viewer.