Links Page with categories

2 posts by 2 authors in: Forums > CMS Builder
Last Post: April 13, 2009   (RSS)

By (Deleted User) - April 10, 2009

Hi everyone

First time to the forum, so please bear with me.

I want a links page (links.php) to show grouped categories and when followed links to show multiple records for that category.

So what have I done so far:

Multi record editor created called Links with fields Category / Website Name / Desc / URL.

Records entered for a small web site, so not really bothered about validation on the Category field.

Created a links.php (list page - showing category records only with link to linksdetail.php)

When click on link in links.php shows all records with that category name. is this just a simple MYSQL query (not that good with MYSQL queries)

Basically I want to group the records on links.php and show all records that match that category, so for example:

CATEGORY WEBSITE NAME DESC URL
Search Engine Google Some tex google.com
Search Engine Yahoo Some text yahoo.com
News Site CNN Some text cnn.com

So on the links page there should be 2 entries:

Search Engine and News Site

Then click on Search Engine and the Google and Yahoo links appear in linksdetail.php

Does that make sense? Any help would be appreciated.

Thanks

Andy