Click to See Complete Forum and Search --> : Flatfile Problem


ecampsite.co.uk
12-18-2005, 09:57 PM
I think this is a simple question for most of you but I just cant seem to get this right. Ive got a flatfile database, and can display all of the records. What i want to do though, is only to display records that are equal to a fieldname. For example i have the field, $county and i would like to only display the records with the $county field = somerset
Please help me! :(
Thanks,
Craig

Ultimater
12-19-2005, 12:52 AM
#1 Gather all the data relevant to the "search" into an array.
#2 Loop through the array
#3 on each array element distinguish wether the element should be included and if so, append it to a new second array
#4 your results are the second array