What is a prepared statement?

Quick answerBeginnerUpdated

Short answer

A prepared statement sends the query and the data to the database separately, so user input can never be interpreted as part of the query. It is the standard defence against SQL injection and PDO or MySQLi support it directly.

This is a general web-hosting explanation, not specific to Traxio.

Learn more

New to Traxio? The PHP hosting page lists the PHP versions, database and tools every account gets, free for the first 30 days.

All developer tools questions · All questions and answers

Popular

Tip: press / to search from any pageSee all results