While using $wpdb and it’s methods to run SQL functions, you will need to be familiar with placeholders. For example, UPDATE and REPLACE operations require placeholders for denoting the format of data that is being added to the database.
The three placeholders that are supported include:
Format | Name | Data Contents |
%s | String | String Data |
%d | Integer | Integers ( no commas ) |
%f | Float | Integers ( with commas ) |
Share/Ask