mirror of
https://git.code.sf.net/p/quake/website
synced 2024-11-30 16:01:24 +00:00
not sure if these are necessary... we'll see
This commit is contained in:
parent
2cdc1eaa19
commit
805f78b6e1
2 changed files with 8 additions and 8 deletions
|
@ -36,10 +36,10 @@
|
||||||
}
|
}
|
||||||
$query2 = 'INSERT into devel_plans (p_user, p_date, p_plan) VALUES (' .
|
$query2 = 'INSERT into devel_plans (p_user, p_date, p_plan) VALUES (' .
|
||||||
"'$u_username', NOW(), 'None')";
|
"'$u_username', NOW(), 'None')";
|
||||||
$result = mysql_db_query (sqlDB, $query2, $conn);
|
$result2 = mysql_db_query (sqlDB, $query2, $conn);
|
||||||
if ($result) {
|
if ($result2) {
|
||||||
$numRows = mysql_affected_rows ($conn);
|
$numRows2 = mysql_affected_rows ($conn);
|
||||||
if ($numRows) {
|
if ($numRows2) {
|
||||||
echo '<P>User added to plan dbase successfully.';
|
echo '<P>User added to plan dbase successfully.';
|
||||||
} else {
|
} else {
|
||||||
echo '<P>There was an error in your input. The error was ' . mysql_error ($conn);
|
echo '<P>There was an error in your input. The error was ' . mysql_error ($conn);
|
||||||
|
|
|
@ -26,10 +26,10 @@
|
||||||
echo '<P>There was an error in your input. The error was ' . mysql_error ($conn);
|
echo '<P>There was an error in your input. The error was ' . mysql_error ($conn);
|
||||||
}
|
}
|
||||||
$query2 = "DELETE FROM devel_plans WHERE p_user = '$p_username'";
|
$query2 = "DELETE FROM devel_plans WHERE p_user = '$p_username'";
|
||||||
$result = mysql_db_query (sqlDB, $query2, $conn);
|
$result2 = mysql_db_query (sqlDB, $query2, $conn);
|
||||||
if ($result) {
|
if ($result2) {
|
||||||
$numRows = mysql_affected_rows ($conn);
|
$numRows2 = mysql_affected_rows ($conn);
|
||||||
if ($numRows) {
|
if ($numRows2) {
|
||||||
echo '<P>User removed from plan dbase successfully.';
|
echo '<P>User removed from plan dbase successfully.';
|
||||||
echo '<P>This webpage will self-destruct in 30 seconds.';
|
echo '<P>This webpage will self-destruct in 30 seconds.';
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in a new issue