Correct num_row > num_rows
This commit is contained in:
+1
-1
@@ -17,7 +17,7 @@ $sql = mysqli_query($mysqli, "SELECT SQL_CALC_FOUND_ROWS * FROM tags
|
||||
|
||||
$num_rows = mysqli_fetch_row(mysqli_query($mysqli, "SELECT FOUND_ROWS()"));
|
||||
|
||||
if ($num_row > 0) {
|
||||
if ($num_rows > 0) {
|
||||
//Colors Used
|
||||
$sql_colors_used = mysqli_query($mysqli, "SELECT tag_color FROM tags
|
||||
WHERE tag_archived_at IS NULL
|
||||
|
||||
Reference in New Issue
Block a user