On Thu, May 11, 2017 at 3:27 PM, Rosanne DiMesio dimesio@earthlink.net wrote:
Should be query_num_rows.
admin.php | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/admin.php b/admin.php
index 09c0aca..fe1ccc6 100644
--- a/admin.php
+++ b/admin.php
@@ -199,7 +199,7 @@ function fixNoteLinks()
echo "<br />Deleting note links<br />";
$hResult = query_parameters("DELETE FROM appNotes WHERE linkedWith != '0'");
- echo "Deleted ".query_affected_rows()." links<br />";
- echo "Deleted ".query_num_rows()." links<br />";
Is this some particularity of the wrapper database function? I say
that because for example both mysql and postgresql have the 2 distinct
functions where affected_rows is used for delete/update and num_rows
is used for select queries.