Thread: wrong variable?
View Single Post
  #2 (permalink)  
Old 04-03-2008, 05:03 PM
Jordan's Avatar   
Jordan Jordan is offline
Administrator
 
Join Date: Nov 2005
Location: Hendersonville, NC
Posts: 9,516
Last Blog:
Ext JS or Ext GWT
Rep Power: 20
Jordan is just really niceJordan is just really niceJordan is just really niceJordan is just really nice
Send a message via ICQ to Jordan Send a message via AIM to Jordan Send a message via MSN to Jordan
Default Re: wrong variable?

Your code threw an error for me on line 14:

Code:
	for($i=0; $i=scalar(@file); $i++;)
Then I realized that you had a ; after the $i++. I removed that and it worked fine for me. I'm surprised that your compiler did not throw a syntax error.
__________________
CodeCall Blog | CodeCall Wiki | Shareware Site | Linux Forum | Write a Blog
The CodeCall Wiki is now fully integrated with vBulletin users! Check it out and add some new pages!
Reply With Quote