Bravo List
Register
Go Back   > Bravo List > Source Code > Archived Trackers > Template Shares
Reply
Thread Tools
  #1  
Old 12th November 2013, 13:05
Ruffneck Ruffneck is offline
Senior Member
 
Join Date: Feb 2008
Posts: 71
Default pls help with mysqli
hi !

am change mysql to mysqli but is not work !

example

$realforum = mysql_result ($query, 0, 'realforum');

to

$realforum = $db->free_result ($query, 0, 'realforum');

function free_result its a mysqli_free_result
Reply With Quote
  #2  
Old 15th November 2013, 04:59
joeroberts's Avatar
joeroberts joeroberts is offline
BT.Manager Owner
 
Join Date: Jan 2008
United States
Posts: 2,113
Default
You are trying to free the memory?
Quote:
The mysqli_free_result() function frees the memory associated with the result.
so you would use it like so
PHP Code:
$db->free_result ($query); 
not

PHP Code:
$realforum $db->free_result ($query); 
http://www.w3schools.com/php/func_my...ree_result.asp
__________________
Do not ask me to help you work on your site that is not phpMyBitTorrent
Do not ask me to make a mod for any other source
Do not Ask me to setup your site.
I will no longer help you setup your site, there is a setup script if you have trouble with it post in the forum here or in BT.Manager™ forum
My Current Demo is here http://demo.btmanager.org/
Reply With Quote
Reply

Tags
mysqli , pls


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



All times are GMT +2. The time now is 11:16. vBulletin skin by ForumMonkeys. Powered by vBulletin® Version 3.8.11 Beta 3
Copyright ©2000 - 2024, vBulletin Solutions Inc.