[eluser]Rubiz'[/eluser]
Hello all!!
Well I have a PHP question...
I recorded an array, and I print_r this, the result is:
Code:
Array ( [message] => Array ( [0] => Imagem: 2_1.gif inserida com sucesso!
Caminho para inserir no HTML: http://www.bandeirantesgalvanica.com.br/email_sender/img/active/2_11213151136.gif
[1] => Imagem: 5_1.gif inserida com sucesso!
Caminho para inserir no HTML: http://www.bandeirantesgalvanica.com.br/email_sender/img/active/5_11213151136.gif
) )
I forgot how to request this in view...
I tried this way:
Code:
<? if(isset($messages)): ?>
<? for ($i=0; $i < sizeof($messages); $i++): ?>
<? if (isset($messages['message'][$i])): ?>
<div style="padding:3px; background-color:#FFFFCC; border:solid 1px #FF9966;">
<?=$messages['message'][$i]?>
</div>
<br /><br />
<? endif ?>
<? endfor ?>
<? endif ?>
But if doesnt work... anyone knows the right way?