View Single Post
  #6  
Old 07-20-2008, 02:52 PM
xXziroXx xXziroXx is offline
Master of Puppets
xXziroXx's Avatar
Join Date: May 2004
Location: Sweden
Posts: 5,288
xXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant future
Send a message via AIM to xXziroXx Send a message via MSN to xXziroXx
Quote:
Originally Posted by cbk1994 View Post
'i' should be declared at least once; something like this:

PHP Code:
for ( temp.foo )
{
  echo( 
);

is perfectly acceptable.
I've encountered several occasions where declaring the variable only once, and then reading it without a temp. header, simply do not work. It's a lazy way to do things, you should always be arsed to type out the whole thing.
__________________

"A delayed game is eventually good, but a rushed game is forever bad." - Shigeru Miyamoto
Reply With Quote