Webmaster Forums - Webmaster forum for HTML, PHP, ASP, CSS and more

Go Back   Webmaster Forums - Webmaster forum for HTML, PHP, ASP, CSS and more > Web Programming > PHP Development
User Name
Password

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old 07-11-2007, 10:21 PM   #1 (permalink)
piskie
Junior Member
 
Join Date: Sep 2006
Posts: 3
Default Make a List from a Field in a Table

I need to generate a list of ALL the values contained in the field called "type" from a Table but with each particular value (or "Type") only appearing once in the list. This is to be built up by a repeat region in a temporary recordset.

I can produce a Temporary Recordset OK, but each entered value in the "type" field will appear multiple times. How do I make it so that each value for type only appears once to produce a set of links like:

<a href="select.php?type=saloon">Saloons</a>
<a href="select.php?type=coupe">Coupes</a>
<a href="select.php?type=mpv">MPVs</a>

etc


Any guidance would be much appreciated.
piskie is offline   Reply With Quote
Sponsored Links
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Points Per Thread View: 1.00
Points Per Thread: 11.00
Points Per Reply: 5.00



» Sponsors

» Links

» Affiliates
Web Hosting
Online Backup Reviews
Marketing Find
Merchant Select
SiteMap Builder
Host Compare
Dedicated Servers

» Links

» Sports Network
Paintball Forum
Football Forum
Hockey Forum
Golf Forum
Boxing Forum
Lacrosse Forum
Baseball Forum
SnowBoarding Forum
Soccer Forum
MMA Forum


All times are GMT -4. The time now is 10:56 PM.



LinkBacks Enabled by vBSEO 3.0.0 RC8
Webmaster Forums