In this video I am talking about the $_POST[‘Search’] process. I use the “SELECT” statement with the “WHERE” clause is used to filter records.
It is used to extract only those records that fulfill a specified condition.
Don’t forget I am using the “Prepare” statement. This statement is a feature used to execute the same SQL statements repeatedly with high efficiency.
The “Prepare” statements reduce parsing time as the preparation on the query is done only once. The bound parameters minimize bandwidth to the server because you only need to send the parameters each time.
And as I have been saying that it is a very useful feature against SQL injections. The parameter values are transmitted later using a different protocol.
Негізгі бет Practical PHP | SQL (Insert, Update, Delete) - video
Пікірлер