Collections functions
Encryption functions
General functions
Theme permission functions
Resource functions

append_user_position()

Parameters

ColumnTypeDefaultDescription
$user

Location

include/dash_functions.php lines 982 to 986

Definition

 
function append_user_position($user)
    {
    
$last_tile=sql_query("SELECT order_by FROM user_dash_tile WHERE user='".$user."' ORDER BY order_by DESC LIMIT 1");
    return isset(
$last_tile[0]["order_by"])?$last_tile[0]["order_by"]+10:10;
    }

This article was last updated 13th July 2020 15:35 Europe/London time based on the source file dated 24th June 2020 14:38 Europe/London time.