Joshua Posted February 18, 2010 Posted February 18, 2010 Ok, so TCmaker requested this, then while I was making it MTG made one BUT, i was already into it so im posting mine anywayz :) SQLS You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. staff_namerequest.php You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. In preferances. Overwrite both of your name change functions with You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Remove your old cases involving name change from your switch up top add this one You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Yes I use mysql_query Its faster. Yes MTG has just done one as well lol. But i was halfway through easy be darned if i stop and scrap it :P Enjoy for any who use >,< Quote
Jordan Palmer Posted February 18, 2010 Posted February 18, 2010 Meh... *bites tongue* Good work Quote
Zero-Affect Posted February 20, 2010 Posted February 20, 2010 Yes I use mysql_query Its faster. Really... Why is that exactly? Quote
Joshua Posted February 20, 2010 Author Posted February 20, 2010 Common Sense Zero :P A. $db->query is in a seperate file that you must call to when using. B. mysql_query goes straight to the source milliseconds faster but shrugz, it's faster and i'm trying to stop using typical mccodes stuff as I branch out ^_- Quote
Dominion Posted February 20, 2010 Posted February 20, 2010 Common Sense Zero :P A. $db->query is in a seperate file that you must call to when using. B. mysql_query goes straight to the source milliseconds faster but shrugz, it's faster and i'm trying to stop using typical mccodes stuff as I branch out ^_- is the class folder not called for every file that has require_once("sglobals.php"); or require_once("globals.php"); anyway so that would not really make it faster since its already there to use? if anything would have thought it would be faster since $c and die would already be part of it? Quote
Zero-Affect Posted February 20, 2010 Posted February 20, 2010 Common Sense Zero :P => is the class folder not called for every file that has require_once("sglobals.php"); or require_once("globals.php"); anyway so that would not really make it faster since its already there to use? if anything would have thought it would be faster since $c and die would already be part of it? ^he does have a point there, i never considered that either. So how is this faster than MTG's? That's like calling the [mysql]SELECT * FROM users WHERE userid = $userid[/mysql] query in files rather than using the $ir query from globals. Quote
Dominion Posted February 20, 2010 Posted February 20, 2010 he never said it was faster btw when using mysql_query you should always kill db->query kills it for you all put into the class folder Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.