D
D
Dmitry2017-03-02 17:31:08
PHP
Dmitry, 2017-03-02 17:31:08

How to display in a snippet?

Hello!
How to display this code in a snippet?

<?php if (count($img)) { ?>
  <input type="file" class="uploader" multiple>
  <?php } ?>

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexander Pushkarev, 2017-03-02
@AXP-dev

I didn't really understand what.

<?php if ( count($img) ): ?>
   <input type="file" class="uploader" multiple>
<?php endif; ?>

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question