Collections functions
Encryption functions
General functions
Render functions
Theme permission functions
Video functions
Resource functions

append_user_position()

Parameters

ColumnTypeDefaultDescription
$user

Location

include/dash_functions.php lines 1010 to 1014

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 28th November 2020 22:35 Europe/London time based on the source file dated 3rd November 2020 16:55 Europe/London time.