On 11/4/05, Unknown Unknown <[EMAIL PROTECTED]> wrote:
> Hi everyone, i have some code that proccesses a login form. i have an object
> $DB which works only in SOME areas, this is the code:
>
[...]
> $DB="membersp";
> $SQL="SELECT ID FROM membersonline WHERE ID='$ID' ";
> $DB->Query($SQL);
[...]
>
On Thu, 2005-11-03 at 18:37 -0500, Unknown Unknown wrote:
> Hi everyone, i have some code that proccesses a login form. i have an object
> $DB which works only in SOME areas, this is the code:
>
> require_once("Include.php");
> global $DB;
There is no need to global $DB here. You are already in
Hi everyone, i have some code that proccesses a login form. i have an object
$DB which works only in SOME areas, this is the code:
Query($SQL);
$UserInfo=$DB->QueryInfo("Array");
if($UserInfo==0) $Login="FALSE";
else $Login="TRUE";
//Make Sure the user is not a duplicate user trying to log in agai
3 matches
Mail list logo