| 
 Posted by Jerry Stuckle on 09/09/06 19:55 
monomaniac21 wrote: 
>>If you're running that close to the limit that a few includes worry you, 
>>you need a faster server (or multiple servers). 
>> 
>  
>  
> sorry i didnt make myself clear. say for example you have 30 incudes 
> occuring in while loops pulling only a few scripts. is this going to be 
> much slower than having the code (which isnt that big) in there instead? 
>  
 
You should never need to include the same file more than once in another  
file.  If you do you should rethink your logic. 
 
Larry's right - put the code in a function, include it once and call the  
function multiple times if necessary. 
 
--  
================== 
Remove the "x" from my email address 
Jerry Stuckle 
JDS Computer Training Corp. 
jstucklex@attglobal.net 
==================
 
  
Navigation:
[Reply to this message] 
 |