Thread: PHP Help
View Single Post
  #2   Spotlight this post!  
Unread 20-02-2006, 22:55
rappo's Avatar
rappo rappo is offline
Drag and drop that for loop!
FRC #0696 (Circuit Breakers)
Team Role: Programmer
 
Join Date: Jan 2005
Rookie Year: 2005
Location: Glendale, California
Posts: 49
rappo is a jewel in the roughrappo is a jewel in the roughrappo is a jewel in the roughrappo is a jewel in the rough
Re: PHP Help

I downloaded the Gallery Thingie file and noticed that in the gt-pub.php there are several for loops.

Example:

Code:
function displayList($phpfile, $linktitle = "number") {
		global $name, $id, $category, $cat, $title, $path;
		for ($i=0;$i<count($name);$i++) {
You can replace the count with the amount that you want to be displayed, but that would mean that you have to implement a page function...
__________________
Team 696 Circuit Breakers
2006 LA Regional - Radio Shack Innovation in Control Award