Welcome Guest, Not a member yet? Register   Sign In
help with this loop guys
#1

[eluser]billie joe[/eluser]
for($i = 0; $i <= count($data['getComment']) ; $i++ )
{
echo$i;
}


the answer would be this:
01234

i cant figure out how ti get only the last number..
for example i got:
012345678910

i would only get the last vale 10...

thanks for your help i appreciate it


Messages In This Thread
help with this loop guys - by El Forum - 04-30-2009, 02:06 AM
help with this loop guys - by El Forum - 04-30-2009, 02:10 AM
help with this loop guys - by El Forum - 04-30-2009, 02:27 AM
help with this loop guys - by El Forum - 04-30-2009, 02:29 AM
help with this loop guys - by El Forum - 04-30-2009, 02:32 AM
help with this loop guys - by El Forum - 04-30-2009, 02:34 AM
help with this loop guys - by El Forum - 04-30-2009, 02:38 AM
help with this loop guys - by El Forum - 04-30-2009, 02:40 AM
help with this loop guys - by El Forum - 04-30-2009, 04:08 AM
help with this loop guys - by El Forum - 04-30-2009, 04:12 AM
help with this loop guys - by El Forum - 04-30-2009, 04:29 AM
help with this loop guys - by El Forum - 04-30-2009, 04:40 AM
help with this loop guys - by El Forum - 04-30-2009, 04:57 AM
help with this loop guys - by El Forum - 05-01-2009, 09:47 AM



Theme © iAndrew 2016 - Forum software by © MyBB