That solve the first problem now I am getting this
Parse error: parse error, unexpected T_STRING, expecting ',' or ')' in c:\wwwroot\ubbthreads\editbasic.php on line 74
Lines 61-80
// ----------------------------------------
// Get the current profile for this username
$Username_q = addslashes($Username);
$query = "
SELECT U_LoginName,U_Password,U_Email,U_Fakeemail,U_Name,U_Signature,
U_Homepage,U_Occupation,U_Hobbies,U_Location,U_Bio,U_TextCols,
U_TextRows,U_Extra1,U_Extra2,U_Extra3,U_Extra4,U_Extra5,U_Picture,
U_Visible,U_AcceptPriv,U_OnlineFormat,U_PrivatePopup,U_PrivateAlert
FROM {$config['tbprefix']}Users
WHERE U_Username = '$Username_q'
";
$sth = $dbh -> do_query($query);
// --------------------------------
// Make sure we found this Username
list($LoginName,$ChosenPassword,$Email,$Fakeemail,$Name,$Signature,
$Homepage,$Occupation,$Hobbies,$Location,$Bio,$TextCols,
$TextRows,$ICQ,$Extra2,$Extra3,$Extra4,$Extra5,$Picture,
$Visible,$AcceptPriv, $OnlineFormat,t,$PrivatePopup, $PrivateAlert) =
$dbh -> fetch_array($sth);
$dbh -> finish_sth($sth);
if (!$ChosenPassword){
$html -> not_right("{$ubbt_lang['NO_PROF']} '$Username'",$Cat);
}
Last edited by JoshPet; 02/02/2003 2:47 PM.