Posted By

steho on 12/11/12


globals array multi-dimensional LV webEdition weifVarNotEmpty

Versions (?)

Outputs the content of any field in $GLOBALS['lv'] - multi-dimensional array

 / Published in: PHP

Outputs the content of a multi-dimensional array in the $GLOBALS['lv']

  1. <we:comment tpye="php">The php script reads the content of the field notes out of the multi-array and puts it into the variable $notes</we:comment>
  3. <?php $notes = $GLOBALS['lv']->object->DB_WE->Record['Notes']; ?>
  4. <we:ifVarNotEmpty type="global" match="notes">
  5. <div class="text-error well" style="margin-top:15px;">
  6. <section>
  7. <h3>Informations internes sur le client</h3>
  8. <p><we:field type="print" name="Notes" /></p>
  9. </section>
  10. </div>
  11. </we:ifVarNotEmpty>

Report this snippet  

You need to login to post a comment.