php - Enclose echo with html -


i have code of php want add <h3> html. tried add <h3> html in between content got me error.

echo __('din indkøbskurv er tom. ', 'wpsc') . '<a href=' . esc_url( get_option( 'product_list_url', '' ) ) . ">" . __('besøg venligst vores butik', 'wpsc') . '</a>'; 

i think whole code.

<?php global $wpsc_cart, $wpdb, $wpsc_checkout, $wpsc_gateway, $wpsc_coupons, $wpsc_registration_error_messages; $wpsc_checkout = new wpsc_checkout(); $alt = 0; $coupon_num = wpsc_get_customer_meta( 'coupon' ); if( $coupon_num )    $wpsc_coupons = new wpsc_coupons( $coupon_num );  if(wpsc_cart_item_count() < 1) :     echo __('din indkøbskurv er tom. ', 'wpsc') . '<a href=' . esc_url( get_option( 'product_list_url', '' ) ) . ">" . __('besøg venligst vores butik', 'wpsc') . '</a>';     return; endif; ?> 

tried this doesn't work.

okay try (not html tags read text, need exist within quotes)

('<h3> din indkøbskurv er tom. ', 'wpsc') . '<a href=' . esc_url( get_option( 'product_list_url', '' ) ) . ">" . __('besøg venligst vores butik', 'wpsc') . '</a></h3>';  

Popular posts from this blog

c# - ODP.NET Oracle.ManagedDataAccess causes ORA-12537 network session end of file -

matlab - Compression and Decompression of ECG Signal using HUFFMAN ALGORITHM -

utf 8 - split utf-8 string into bytes in python -