I am updating Columns in Rows in a Table.
Previously these Columns were set to NULL.
After an UPDATE the columns now have data in them.
But 'affected_rows' remains 0?
Any ideas why?
$query = $conn->prepare("UPDATE table
SET column1=?
WHERE column2 LIKE ? AND column3 IS NULL");
$query->bind_param('ss', $value1, $value2);
$query->execute();
echo "Affected rows: " . $query -> affected_rows . "<br />"; // Returns 0 everytime?