Hi,
You can customise your search results page like:
<%loop results%>
Field name 1: <%field_name1%><BR>
Field name 2: <%field_name2%>....
Image: <img src="db.cgi?cn=picture_field_name&do=view_file&db=<%db%>&id=<%primary_key_field%>">
<%endloop%>
field_name1,field_name2 ...they are the name of fields.
3. Final Question:
In the search results I want the user to go to 4 different pages for each listing[/reply]
Do you mean that they are detail pages? If so, just modify search_results.html like:
<%loop results%>
<%ifnot de%>
<%include detail1.html%>
<%else%>
<%if de eq '2'%>
<%include detail2.html%>
<%else%>
<%if de eq '3'%>
<%include detail3.html%>
<%else%>
<%include detail4.html%>
<%endif%>
<%endif%>
<%endif%>
<%endloop%>
- Detail files contain the scripts below:
Field 1: <%field_name1%>
Field 2: <%field_name2%>
....
<a href="db.cgi?do=search_results&db=<%db%>&primary_key_field=<%primary_key_field%>&de=2">Detail 2</a>
TheStone.
B.
You can customise your search results page like:
<%loop results%>
Field name 1: <%field_name1%><BR>
Field name 2: <%field_name2%>....
Image: <img src="db.cgi?cn=picture_field_name&do=view_file&db=<%db%>&id=<%primary_key_field%>">
<%endloop%>
field_name1,field_name2 ...they are the name of fields.
3. Final Question:
In the search results I want the user to go to 4 different pages for each listing[/reply]
Do you mean that they are detail pages? If so, just modify search_results.html like:
<%loop results%>
<%ifnot de%>
<%include detail1.html%>
<%else%>
<%if de eq '2'%>
<%include detail2.html%>
<%else%>
<%if de eq '3'%>
<%include detail3.html%>
<%else%>
<%include detail4.html%>
<%endif%>
<%endif%>
<%endif%>
<%endloop%>
- Detail files contain the scripts below:
Field 1: <%field_name1%>
Field 2: <%field_name2%>
....
<a href="db.cgi?do=search_results&db=<%db%>&primary_key_field=<%primary_key_field%>&de=2">Detail 2</a>
TheStone.
B.