How to echo billing phone number under My Account in Woocommerce? [closed]

You’re close – just need to tweak your arguments:

<?php echo get_user_meta( $customer_id, 'billing_phone', true ) ?>

Just make sure $customer_id is the ID of the user – you probably want get_current_user_id() instead.

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