fix vars names
This commit is contained in:
parent
a04450f951
commit
fcf192c7b3
|
@ -22,8 +22,8 @@ switch($_POST['act']){
|
||||||
$rs=mysqli_query($lnMysql,
|
$rs=mysqli_query($lnMysql,
|
||||||
"SELECT 1
|
"SELECT 1
|
||||||
FROM bots
|
FROM bots
|
||||||
WHERE name='".mysqli_real_escape_string($lnMysql,htmlentities($_POST['botname']))."'
|
WHERE name='".mysqli_real_escape_string($lnMysql,htmlentities($_POST['botName']))."'
|
||||||
AND game='".mysqli_real_escape_string($lnMysql,$_POST['game'])."';");
|
AND game='".mysqli_real_escape_string($lnMysql,$_POST['botGame'])."';");
|
||||||
if(mysqli_num_rows($rs) > 0){
|
if(mysqli_num_rows($rs) > 0){
|
||||||
$alerts.="Un bot existant pour ce je porte le même nom\n";
|
$alerts.="Un bot existant pour ce je porte le même nom\n";
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user