146 |
// Debugging |
// Debugging |
147 |
// printf("sql was: %s", $sql); |
// printf("sql was: %s", $sql); |
148 |
|
|
149 |
$rs = mysql_query($sql, $con); |
$rs = xx_query($sql, $con); |
150 |
$hits = mysql_num_rows($rs); |
$hits = xx_num_rows($rs); |
151 |
if ($hits > 0) { |
if ($hits > 0) { |
152 |
|
|
153 |
// Draw page header |
// Draw page header |
159 |
printf("<strong>Messages:</strong><br>\n"); |
printf("<strong>Messages:</strong><br>\n"); |
160 |
|
|
161 |
printf ("Possible duplicate resource titles found with title '%s'. Are you sure you want to continue?<br><br>\n", $title); |
printf ("Possible duplicate resource titles found with title '%s'. Are you sure you want to continue?<br><br>\n", $title); |
162 |
while ($row = mysql_fetch_array ($rs)) { |
while ($row = xx_fetch_array ($rs)) { |
163 |
$title = $row["title"]; |
$title = $row["title"]; |
164 |
$resource_id = $row["resource_id"]; |
$resource_id = $row["resource_id"]; |
165 |
|
|