Jump to content
MakeWebGames

Recommended Posts

Posted

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 >,<

Posted

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 ^_-

Posted
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?

Posted
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.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...