Return to Snippet

Revision: 61423
at December 11, 2012 21:21 by steho


Initial Code
<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>

<?php $notes = $GLOBALS['lv']->object->DB_WE->Record['Notes']; ?>
	<we:ifVarNotEmpty type="global" match="notes">
		<div class="text-error well" style="margin-top:15px;">
			<section>
				<h3>Informations internes sur le client</h3>
				<p><we:field type="print" name="Notes" /></p>
			</section>
		</div>
	</we:ifVarNotEmpty>

Initial URL


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

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

Initial Tags
array

Initial Language
PHP