Thread: Help
View Single Post
  #2  
Old 01-16-2007, 07:22 AM
Inverness Inverness is offline
Incubator
Inverness's Avatar
Join Date: Aug 2004
Location: Houston, Texas
Posts: 3,613
Inverness is a jewel in the roughInverness is a jewel in the rough
PHP Code:
temp.keys getstringkeys("this.sentmail.");
setarray(temp.mostsent2); // account & number sent
for (temp.0temp.temp.keys.size(); temp.++) {
  
temp.current makevar("this.sentmail." temp.keys[temp.i]);
  if (
temp.current temp.mostsent[1]) {
    
temp.mostsent[1] = temp.current;
    
temp.mostsent[0] = temp.keys[temp.i];
  }
}
return 
temp.mostsent[0]; 
I prefer using makevar() since the other way seems to get funky sometimes.
__________________
Reply With Quote