macg-gh / madlibs

A little game that runs on a LAMP stack
0 stars 0 forks source link

Feedback - Prepared queries #51

Open macg-gh opened 4 years ago

macg-gh commented 4 years ago

Prepared queries: https://www.php.net/manual/en/mysqli.quickstart.prepared-statements.php. Use that instead of escaping strings, the prepped statement will do that for you so it's a safer way to execute sql.