userrihts werden erstellt

git-svn-id: svn://svn.cccv.de/engel-system@38 29ba0400-6e00-0410-a75a-ca02368028f8
This commit is contained in:
cookie 2005-11-10 22:44:50 +00:00
parent 0987bb3c79
commit 0d755ad701
2 changed files with 26 additions and 0 deletions

View File

@ -48,6 +48,19 @@ if( $_POST)
$SQL2 = "SELECT UID FROM `User` WHERE Nick='". $_POST["Nick"]. "';";
$Erg2 = mysql_query($SQL2, $con);
$Data = mysql_fetch_array($Erg2);
$SQL3 = "INSERT INTO `UserCVS` (`UID`) VALUES (". $Data["UID"]. ");";
$Erg3 = mysql_query($SQL3, $con);
if ($Erg3 != 1)
{
echo "error: can't save userright... <br><h6>(".mysql_error($con).")</h6>";
}
else
{
echo "userright was saved...<br>";
echo "<br><br> Your acount was sucsessfull creat, hafe al lot of fun.";
}
}
}
if( !isset($error) ){

View File

@ -45,6 +45,19 @@ if( $_POST)
$SQL2 = "SELECT UID FROM `User` WHERE Nick='". $_POST["Nick"]. "';";
$Erg2 = mysql_query($SQL2, $con);
$Data = mysql_fetch_array($Erg2);
$SQL3 = "INSERT INTO `UserCVS` (`UID`) VALUES (". $Data["UID"]. ");";
$Erg3 = mysql_query($SQL3, $con);
if ($Erg3 != 1)
{
echo "error: can't save userright... <br><h6>(".mysql_error($con).")</h6>";
}
else
{
echo "userright was saved...<br>";
echo "<br><br> Your acount was sucsessfull creat, hafe al lot of fun.";
}
}
}
if( !isset($error) ){