• Categories
    • PHP
    • phpMyAdmin
    • PHPMailer
    • FFMpeg
    • PHPEXcel
    • PHPDoc
    • PHPUnit
    • CakePHP
    • CakePHP 2.0
    • Cake PHP 2.1
    • CakePHP Model
    • Facebook PHP SDK
    • composer-php
    • PHP 7
    • PHP GD
    All Categories
  • About

How can i hide dt if dd got empty value

javascriptphphtmlcsslaravel


PHP Snippet 1:

<dt class="col-sm-6 text-dark" style="display: {{ $course_dtl->subject_title ? 'block' : 'none' }}" >Subject</dt>
<dd class="col-sm-6">{{$course_dtl->subject_title }}</dd>

Related Snippets

Laravel - Browser displays message again when I press back button

insert multiple rows in a saveall in cakephp

protect images from being copied

how can I set a session variable in Drupal 8 and get it in a php script?

Getting public posts of a random user from Facebook API

How to properly start Laravel 8 with Bootstrap & authentication

laravel controller function parameters

laravel MVC execution flow

Update Order custom Field value with WooCommerce REST API

Add a custom text for a particular product on specific email notification in Woocommerce

Laravel unique validation on multiple columns

Creating Combinations of Elements

loop through an anchor id

is there any way to validate a field that sometime is File(image) && sometime is String(Src of same image)

Mobile browsers are adding .html to filename on download

About Contact Privacy policy Terms and conditions