MyBB Community Forums

Full Version: print mysql array results to screen
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I have been modding mybb to work with oscommerce and I need to do some debugging and am wondering if there was a way to retrun mysql array results to the screen. Right now it is all being eval() for template use and print_r wont return. Is there a way to do this besides adding a variable in each template where the results return and print them out there.

Thanks,

Tom
I typically die(var_dump($results)), eg
$r = $db->fetch_array($query);
die(var_dump($r));
thanks!