Last call to make your voice heard! Our 2022 Developer Survey closes in less than a week. Take survey.

Hot answers tagged

1 vote

Cannot get wpdb data (Error in a simple fuction)

should be a comment but can't. your error just says that in <?php get_coin_price(BTC); ?> BTC is considered a variable but is not defined and compiler assume the variable as a string, it doesn'...
user avatar
  • 36
1 vote
Accepted

Cannot get wpdb data (Error in a simple fuction)

What about changing BTC to a string <?php get_coin_price('BTC'); ?>
user avatar
1 vote
Accepted

Wordpress Custom SQL Table with UserID Filter for results

The evolution of this question makes it difficult to succinctly answer, but in brief summary: Using $wpdb->prepare() to construct arbitrary SQL queries to execute against the database helps to ...
user avatar
  • 5,195

Only top scored, non community-wiki answers of a minimum length are eligible