im facing this error while trying to add user to any group
" I don't know how did you get into here, but there's nothing to show "
i add this code into owercp. and ownerproc
so now facing
" Error adding user "
plz help to solve this..
" I don't know how did you get into here, but there's nothing to show "
i add this code into owercp. and ownerproc
Code:
else if($action=="addtog")
{
$who = $_GET["who"];
echo "<head>";
echo "<title>Owner Tools</title>";
echo "<link rel=\"stylesheet\" type=\"text/css\" href=\"../themes/$theme[0]\">";
echo "</head>";
echo "<body>";
echo "<p align=\"center\">";
echo "
";
$res = mysql_query("INSERT INTO ibwf_groups SET uid='".$who."'");
if($res)
{
echo "<img src=\"../images/ok.gif\" alt=\"O\"/>user added successfully";
}else{
echo "<img src=\"../images/notok.gif\" alt=\"X\"/>Error adding user ";
}
echo "
[b]8 [/b]<a accesskey=\"8\" href=\"admincp.php?action=chuinfo&sid=$sid\">Users Info</a>
";
echo "
[b]9 [/b]<a accesskey=\"9\" href=\"ownercp.php?action=ownercp&sid=$sid\"><img src=\"../images/admn.gif\" alt=\"\"/>Owner Tools</a>
";
echo "[b]0 [/b]<a accesskey=\"0\" href=\"index.php?action=main&sid=$sid\"><img src=\"../images/home.gif\" alt=\"\"/>Home</a>";
echo "</p></body>";
}
" Error adding user "
plz help to solve this..
Comment