Thread Starter
yochi
(@yochi)
I have been reading that article. But i must say i’m not sure if i should look at the input or output validation, and which one is the best for me.
Thread Starter
yochi
(@yochi)
thanks for the reply, but i had to type the full name of the table, my mistake was that i thought that WordPress added the prefix automaticly.
Here is my working code:
$fivesdrafts = $wpdb->get_col(
"
SELECT name
FROM wp_testdatabase
"
);
Thread Starter
yochi
(@yochi)
Thank you very much. That worked:)