PHP warning
Posted: Fri Nov 15, 2013 8:45 pm
Hi all,
Warning:
"top-position-yahoo-finance.php"
Please help how to change this line? Thanks
Rgds
satimis
Warning:
Code: Select all
Warning: Missing argument 2 for wpdb::prepare(), called in /home/content/88/10579588/html/blog/wp-content/plugins/top-position-yahoo-finance/top-position-yahoo-finance.php on line 150 and defined in /home/content/88/10579588/html/blog/wp-includes/wp-db.php on line 992Code: Select all
Line 150:
$credits = $wpdb->get_var($wpdb->prepare("SELECT tpyf_symbol FROM " . $table_name . " WHERE tpyf_category='credits';"));Rgds
satimis