View Single Post
  #18  
Old 08-11-2009, 02:56 AM
cbk1994 cbk1994 is offline
the fake one
cbk1994's Avatar
Join Date: Mar 2003
Location: San Francisco
Posts: 10,718
cbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond repute
Send a message via AIM to cbk1994
Quote:
Originally Posted by DustyPorViva View Post
On a slightly somewhat perhaps related note, I have often had problems where temp.vars lose their value in a for loop.
Are you declaring them inside the loop?

PHP Code:
temp.0;

for (
temp.item : array) {
  echo(
b);
  
++;

has always worked for me
__________________
Reply With Quote