mirror of
https://git.code.sf.net/p/quake/website
synced 2024-11-24 05:01:23 +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 (' .
|
||||
"'$u_username', NOW(), 'None')";
|
||||
$result = mysql_db_query (sqlDB, $query2, $conn);
|
||||
if ($result) {
|
||||
$numRows = mysql_affected_rows ($conn);
|
||||
if ($numRows) {
|
||||
$result2 = mysql_db_query (sqlDB, $query2, $conn);
|
||||
if ($result2) {
|
||||
$numRows2 = mysql_affected_rows ($conn);
|
||||
if ($numRows2) {
|
||||
echo '<P>User added to plan dbase successfully.';
|
||||
} else {
|
||||
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);
|
||||
}
|
||||
$query2 = "DELETE FROM devel_plans WHERE p_user = '$p_username'";
|
||||
$result = mysql_db_query (sqlDB, $query2, $conn);
|
||||
if ($result) {
|
||||
$numRows = mysql_affected_rows ($conn);
|
||||
if ($numRows) {
|
||||
$result2 = mysql_db_query (sqlDB, $query2, $conn);
|
||||
if ($result2) {
|
||||
$numRows2 = mysql_affected_rows ($conn);
|
||||
if ($numRows2) {
|
||||
echo '<P>User removed from plan dbase successfully.';
|
||||
echo '<P>This webpage will self-destruct in 30 seconds.';
|
||||
} else {
|
||||
|
|
Loading…
Reference in a new issue