Custom Database Tables: Safety First

This is part two of a series about custom database tables in WordPress. In part one we covered the reasons for, and against, using custom tables. We looked at some of the details that would need to be considered – column naming, column types – as well as how to create the table. Before we go any further we need to cover how to interact with this new table safely. In a previous article I covered general sanitisation and validation – in this tutorial we’ll look at this in more detail in the context of databases.




Full post: Custom Database Tables: Safety First 

0 Comments:

Post a Comment