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


/ Published in: PHP
Save to your folder(s)

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


Copy this code and paste it in your HTML
  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>
  2.  
  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


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.