Remove # from a Variable [closed]

Just remove the first character of the string:

echo substr( $order->get_order_number() , 1 );

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)