Hi Ck!
Great to have found this site..
BBPRESS is very attractive but lack of documentation makes life kinda difficult..and ofcourse, my amateurishness..
Im coding a plugin, and I want to call an entire line in sql and display it.
$data = array(
"question" => "Whats ma name",
"oa" => "oa",
"ob" => "ob",
"oc" => "oc",
"answer" => "answer",
"topic_id" => 1,
"explanation" => "",
);
I could call each variable the same number of commands.. but i want to grab a line from table complete into $data with just one call.
something like this:
$data = $bbdb->get_row( $bbdb->prepare ("SELECT question FROM bb_data WHERE tid = %d", $tid ));
but you can see that its wrong, and i dont know how do i get the entire line from bb_data into $data type above.
any help is appreciated