173 |
// Debugging |
// Debugging |
174 |
// printf("sql was: %s<BR>", $sql); |
// printf("sql was: %s<BR>", $sql); |
175 |
|
|
176 |
$rs = mysql_tryquery($sql); |
$rs = xx_tryquery($sql); |
177 |
|
|
178 |
// Table |
// Table |
179 |
printf("<center><table width=\"90%%\" border =\"1\" bgcolor =\"#ffffff\" cellpadding=\"4\">"); |
printf("<center><table width=\"90%%\" border =\"1\" bgcolor =\"#ffffff\" cellpadding=\"4\">"); |
211 |
$rowcount = 0; |
$rowcount = 0; |
212 |
|
|
213 |
// Cycle through the result set |
// Cycle through the result set |
214 |
while ( $row = mysql_fetch_array ($rs, MYSQL_ASSOC)) { |
while ( $row = xx_fetch_array ($rs, xx_ASSOC)) { |
215 |
$page_id = $row["page_id"]; |
$page_id = $row["page_id"]; |
216 |
$page_title = Trim($row["page_title"]); |
$page_title = Trim($row["page_title"]); |
217 |
$date_created = substr($row["date_created"], 0, 10); |
$date_created = substr($row["date_created"], 0, 10); |
269 |
// Search statistics |
// Search statistics |
270 |
printf("<tr><td align = \"right\" colspan =\"6\" class=\"backLight\">"); |
printf("<tr><td align = \"right\" colspan =\"6\" class=\"backLight\">"); |
271 |
$records = "record"; |
$records = "record"; |
272 |
printf("<BR>Returned %d ", mysql_num_rows($rs)); |
printf("<BR>Returned %d ", xx_num_rows($rs)); |
273 |
if (mysql_num_rows($rs) != 1) $records .= "s"; |
if (xx_num_rows($rs) != 1) $records .= "s"; |
274 |
printf($records); |
printf($records); |
275 |
printf("."); |
printf("."); |
276 |
|
|