<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:times new roman,new york,times,serif;font-size:12pt"><div>Eu consegui usando o splice :)<br><br></div><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;">splice @array, 1, 0, $array[0]."64";<br>&nbsp;:)<br><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;"><font size="2" face="Tahoma"><hr size="1"><b><span style="font-weight: bold;">De:</span></b> Thomas Britis &lt;thomas@tcnet.com.br&gt;<br><b><span style="font-weight: bold;">Para:</span></b> Cascavel Perl Mongers &lt;cascavel-pm@pm.org&gt;<br><b><span style="font-weight: bold;">Enviadas:</span></b> Quarta-feira, 28 de Abril de 2010 19:15:05<br><b><span style="font-weight: bold;">Assunto:</span></b> Re: [Cascavel-pm] Array acrescentar valor<br></font><br><base>$array[1] .= '64'; ???<div><br><div>
<span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;"><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;"><div style=""><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px;
 text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;"><div style=""><div>---</div><div>Thomas Britis</div><div>TCNet Informática e Telecomunicações LTDA</div><div><a rel="nofollow" ymailto="mailto:thomas@tcnet.com.br" target="_blank" href="mailto:thomas@tcnet.com.br">thomas@tcnet.com.br</a></div><div><br></div></div></span><br class="Apple-interchange-newline"></div></span><br class="Apple-interchange-newline"></span><br class="Apple-interchange-newline">
</div>
<br><div><div>On 28/04/2010, at 16:10, Patty Silva wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><span class="Apple-style-span" style="border-collapse: separate; font-family: Helvetica; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;"><div><div style="margin: 0px; font-family: times,serif; font-size: 12pt;"><div style="margin: 0px;">Ola Pessoal,<br>Tem como eu acrescentar um valor em um campo do array??<br>ex:<br>@array(2,5,1,6,8,1,8);<br>tem como eu adicionar no campo 1 do meu elemnto o numero 64 , o array ficaria assim:<br>@array(2,564,1,6,8,1,8);<br><br><br><br>Obrigada :-)<br><br></div></div><br>&nbsp;_______________________________________________<br>Cascavel-pm mailing list<br><a rel="nofollow" ymailto="mailto:Cascavel-pm@pm.org"
 target="_blank" href="mailto:Cascavel-pm@pm.org">Cascavel-pm@pm.org</a><br><a rel="nofollow" target="_blank" href="http://mail.pm.org/mailman/listinfo/cascavel-pm">http://mail.pm.org/mailman/listinfo/cascavel-pm</a></div></span></blockquote></div><br></div></div></div>
</div><br>



      &nbsp;</body></html>