Jump to content

Do Not Understand A Query With Mysqli In Vbulletin


zero477

Recommended Posts

Hello to all ..

 

It has been some time since I am not around here ...

 

$results = vB::$db->query_read("
   SELECT *
   FROM TABLE
   WHERE lalala='$lalalala'
"); 

echo print_r ($results);

/* When I preint_r the results I see this:

mysqli_result Object ( [current_field] => 0 [field_count] => 16 [lengths] => [num_rows] => 1 [type] => 0 ) 

What is that????

Then I amtrying to get the results with:
*/

while($infocaca = mysqli_fetch_array($results));
{
    $wanttoseethis=$infocaca['columnname'];
}

/* When I echo   $wanttoseethis I cannot see anything 

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.