Previous Thread
Next Thread
Print Thread
Rate Thread
Joined: Jun 2002
Posts: 303
Enthusiast
Enthusiast
Joined: Jun 2002
Posts: 303
Ok, if you saw my post in chit chat regarding a links project, I've begun one. Here's where I am so far. http://www.fish-tails.net/dev_test/ubbthreads/links.php?op=Links

I'll come back with a list of features I'm working on, but it's built from scratch at this point, and is designed with UBBThreads in mind. I started the project yesterday.

I need some assistance on loops. If you follow the link you will get to the main list of categories. When building my table cells, I want 3 columns, as opposed to the 9 that are there.

Here's how my output goes:

Retrieve main (or parent) categories
Begin my loop with a while statement.
Retrieve sub categories
Start second loop sequence for listing subs below tha mains.
Close second loop
Close first loop.

Now when I output, I want each main category with its sub categories in one table cell, But I want to be able to customize the table so that the number of columns can be changed by the admin, i.e. customize the display. I'm puzzled on how to start a row with three columns, then continue down with the rest of the cells in sequence.

Did I confuse you? I confused myself. Any suggestions on how to go about this?

Thanks.

Sponsored Links
Entire Thread
Subject Posted By Posted
Links Directory project. Question about loops. fishtails 02/04/2003 12:45 AM
Re: Links Directory project. Question about loops Gardener 02/04/2003 2:15 AM
Re: Links Directory project. Question about loops fishtails 02/04/2003 11:32 PM
Re: Links Directory project. Question about loops Gardener 02/05/2003 1:31 AM
Re: Links Directory project. Question about loops AKD96 02/05/2003 3:57 AM
Re: Links Directory project. Question about loops AllenAyres 02/05/2003 4:16 AM
Re: Links Directory project. Question about loops JoshPet 02/05/2003 6:17 AM
Re: Links Directory project. Question about loops fishtails 02/05/2003 5:17 PM
Re: Links Directory project. Question about loops dimopoulos 02/05/2003 5:33 PM
Re: Links Directory project. Take a look - commen fishtails 02/11/2003 3:03 AM
Re: Links Directory project. Take a look - commen JustDave 02/11/2003 3:21 AM
Re: Links Directory project. Take a look - commen JoshPet 02/11/2003 3:30 AM
Re: Links Directory project. Take a look - commen smilesforu 02/11/2003 11:59 AM
Re: Links Directory project. Take a look - commen dimopoulos 02/11/2003 2:50 PM
Re: Links Directory project. Take a look - commen Gardener 02/11/2003 8:16 PM
Re: Links Directory project. Take a look - commen AllenAyres 02/12/2003 12:37 AM
Re: Links Directory project. Take a look - commen AllenAyres 02/12/2003 7:46 AM
Re: Links Directory project. Take a look - commen fishtails 02/12/2003 6:11 PM
Re: Links Directory project. Take a look - commen JustDave 02/12/2003 7:45 PM
Re: Links Directory project. Roadmap fishtails 02/13/2003 6:14 AM
Re: Links Directory project. Roadmap JoshPet 02/13/2003 6:21 AM
Re: Links Directory project. Roadmap JustDave 02/13/2003 7:42 AM
Re: Links Directory project. Roadmap Gardener 02/13/2003 12:40 PM
Re: Links Directory project. Roadmap dimopoulos 02/13/2003 3:50 PM
Re: Links Directory project. Roadmap AllenAyres 02/14/2003 6:21 AM
Re: Links Directory project. Roadmap fishtails 02/17/2003 12:46 AM
Re: Links Directory project. Roadmap JoshPet 02/17/2003 1:04 AM
Re: Links Directory project. Roadmap JustDave 02/17/2003 3:02 AM
Re: Links Directory project. Roadmap dimopoulos 02/17/2003 3:54 AM
Re: Links Directory project. Roadmap AllenAyres 02/17/2003 4:37 AM
Re: Links Directory project. Roadmap omegatron 02/17/2003 5:16 AM
Re: Links Directory project. Roadmap fishtails 02/17/2003 6:39 PM
Re: Links Directory project. Roadmap omegatron 02/17/2003 7:39 PM
Re: Links Directory project. Roadmap AllenAyres 02/18/2003 5:25 AM
Re: Links Directory project. Roadmap fishtails 02/19/2003 6:45 PM
Re: Links Directory project. Roadmap JoshPet 02/19/2003 6:56 PM
Re: Links Directory project. Roadmap dimopoulos 02/20/2003 12:55 AM

Link Copied to Clipboard
Donate Today!
Donate via PayPal

Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.

Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
isaac
isaac
California
Posts: 1,157
Joined: July 2001
Forum Statistics
Forums63
Topics37,573
Posts293,925
Members13,849
Most Online5,166
Sep 15th, 2019
Today's Statistics
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,833
Greg Hard 4,625
Top Posters(30 Days)
Top Likes Received
isaac 82
Gizmo 20
Brett 7
WebGuy 2
Morgan 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2024 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20221218)