src/vectorUpload.php
/**
 * Increments the order number by 1 and returns the result
 *
 * @return int|string incremented order number
 */
Increments the order number by 1 and returns the result
@return int|string incremented order number
Increments the order number by 1 and returns the result @return int|string incremented order number
function incrementOrderNumber() {
    $orderFileName = "./.data/.orders.txt";
    $orderNumber = file_get_contents($orderFileName);
    $orderNumber += 1;
    $orderNumber = (string) $orderNumber;
    file_put_contents($orderFileName, $orderNumber);
    return $orderNumber;
}
function incrementOrderNumber ( ) { $ orderFileName = " ./.data/.orders.txt " ; $ orderNumber = file_get_contents ( $ orderFileName ) ; $ orderNumber += 1 ; $ orderNumber = ( string ) $ orderNumber ; file_put_contents ( $ orderFileName , $ orderNumber ) ; return $ orderNumber ; }
Increments the order number by 1 and returns the result
 @return int|string incremented order number
Increments the order number by 1 and returns the result @return int|string incremented order number