<% ds.db.pool p = new ds.db.pool("pb_content"); ds.db.table df = p.newTable("dentalfact"); String ID = ds.utils.gv(request, "ID"); String[][] dfVals = new String[0][0]; if (!ID.equals("")) dfVals = df.findByValues(new String[] {"title", "body"}, "WHERE factfile_id=" + ID); %> Doctor Dental - Dental Factfiles<%= !ID.equals("") ? " - " + dfVals[0][0] : "" %>
 

 



  <% if (!ID.equals("")) { %>

Dental Factfiles - <%= dfVals[0][0] %>

<%= dfVals[0][1] %> <% } else { dfVals = df.findByValues(new String[] {"factfile_id", "title", "hits"}, "ORDER BY title ASC"); %>

Dental Factfiles

Below is the full list of factfiles, their popularity is also shown below.

<% for (int i = 0; i < dfVals.length; i++) { %> <% } %>

Factfile

Popularity


<%= dfVals[i][1] %>

<%= dfVals[i][2] %>

read on

<% } %>


"My Good Practice Guide
and PracticeSearch will
help you find an online
dentist who cares"
 
 
<% p.close(); %>