From 805f78b6e1d6a4605cd6106caa01c3ee4fcf88d8 Mon Sep 17 00:00:00 2001 From: Dan Olson Date: Fri, 16 Jun 2000 19:40:31 +0000 Subject: [PATCH] not sure if these are necessary... we'll see --- members/adduser.php | 8 ++++---- members/deluser.php | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/members/adduser.php b/members/adduser.php index b5f4694..9f2f0cb 100644 --- a/members/adduser.php +++ b/members/adduser.php @@ -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 '

User added to plan dbase successfully.'; } else { echo '

There was an error in your input. The error was ' . mysql_error ($conn); diff --git a/members/deluser.php b/members/deluser.php index 6b463b7..bac1a6a 100644 --- a/members/deluser.php +++ b/members/deluser.php @@ -26,10 +26,10 @@ echo '

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 '

User removed from plan dbase successfully.'; echo '

This webpage will self-destruct in 30 seconds.'; } else {