WPDB loop parameter Question How can i loop the the parameter in wpdb? i echo $b[‘id’]; to show the id result in the image. function company_reviews($id) { global $wpdb; $bb = json_encode($id); $b = json_decode($bb, true); $myrows = $wpdb->get_results( "select post_title from wp_posts where id='".$b['id']."' " ); } 0 plugin-development, plugins Jhonray Angcon 1 year 0 Answers 89 views 0
Leave an answer
You must login or register to add a new answer .