Is there any point in escaping an integer in a query after it's converted with intval()
?
I'm using the integer like so:
$sql .= " LIMIT " . $this->db->escape(intval($offset)) . ", 10";
No, intval will always return an integer (0
on failure).
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With