Jump to content
MakeWebGames

Recommended Posts

Posted

Before "global $_CONFIG" are you including the file in which $_CONFIG is defined?

And why don't you just right it in yourself ? _mysql.

My understanding is that the McCodes class consists of 2 files, mysql and mysqli, unless you're constantly switching between the both then it shouldn't matter.

Posted

i don't see why you would wish to do this, however...

 

<?php
switch($_GET['action'])
{
case 'register':
include'register.php';
break;
default:
include 'login.php';
break;
}
?>

 

should be something to work off? o btw don't use what i posted just an example :)

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