Doesn't work with mysqli! (how to fix)
Is there anyone who has go this to work with the forced use of mysqli?
|
simple.. change all your code to mysqli:coffee:
|
OK pm me what code and all I can mysqli it for you
If you wait 2 weeks I'll be uploading my FMEDITION 18 mysqli to my github |
Besides changing mysql_* calls to mysqli_* what are the functions that need to be updated etc. Ive seen some TBDEV mods with mysqli_* but cant seem to find any showing the updated functions related to the db like dbconn()
|
if you use standard tbdev.. this should do the trick
Code:
function dbconn($autoclean = false) |
Thx DND, i use a heavy modified TBsource but that should do the trick, is there anything else that needs to be changed? And one last thing, i notice some calls are not changed in some code, how do i tell which ones to leave as mysql_* and which ones to change to mysqli_* ?
|
Basic example:
Code:
mysql_query('SELECT username FROM users WHERE id = ' . sqlesc($user['invitedby'])); Code:
mysqli_query($GLOBALS["___mysqli_ston"], 'SELECT username FROM users WHERE id = ' . sqlesc($user['invitedby'])); same query, just a bit changed |
Quote:
|
No mate its not but the orignal source would be. Whats a PR?
|
mine is on github to mysqli
|
All times are GMT +2. The time now is 06:50. |
Powered by vBulletin® Version 3.8.11 Beta 3
Copyright ©2000 - 2024, vBulletin Solutions Inc.