Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
0 votes
in Q2A Core by
closed by

Hi guys,


I have a problem with the following code:

$c_info = qa_db_query_sub($c_query,$postid);
    if ($c_info != false){

Giving this error: Reading one assoc from empty results

 I get that this happens because the info it's trying to get doesn't exist, but is there any built in function in q2a so that I can check for example mysqli_num_rows()?



Q2A version: 1.6.3
closed with the note: I have found a built in function. qa_db_affected_rows()