What is the primary security benefit of using prepared statements in PHP database queries?
-
A
They improve query readability and structure
-
B
They prevent SQL injection by separating SQL code from data
-
C
They cache database queries for better performance
-
D
They reduce server memory usage during queries