in reply to CGI list of links to record details from flat-file database

Maybe I'm weird here but it seems that such simple pages (ie. with just a vehicle, small info, small pic, etc.) would be good to make dynamically... instead of OPENing CAR and PRINTing to it as described above, make a separate cgi script or just a separate section of your original which tests the name/value of your submit button (which called the script in the first place)... this way, the default script could list all vehicles available and print them as a table or whatever (make sure to include all relevant info in the line item for each)... then on the list page, instead of just a simple link, each would have it's own submit button or graphic something like:
<form action="/cgi-bin/$NameOfYourScript.cgi"> <input type="hidden" name="WhichOne" value="97FordMustang"> <table><tr><td>YEAR<td>MAKE<td>MODEL<td>PRICE<td>GRAPHIC<td>ETC.<td>DE +TAILS <tr><td>97<td>Ford<td>Mustang<td>$17000<td>IMG tag goes here <td>etc...<td><input type="submit" name="Detailed" value="Show Det +ails"> </table></form>
I don't know of a script to do similar stuff automatically for you... I know what I've described is probably more work but then you won't have to worry about managing a million html files all over the place (and designing some filing scheme for them etc.) ... and you can make simple changes to the table layout, colors, graphics, etc. and all of them will immediately propagate to every page viewed off a submission from there on without having to create a ton of tiny pages again either. If I haven't described this clearly enough, I apologize. Just ask and I'll try to clarify if someone else doesn't beat me to it. TTFN & Shalom.

-PipTigger