Skip to content

Commit

Permalink
Updated to delete conditions as well
Browse files Browse the repository at this point in the history
git-svn-id: file:///Users/Shitiz/Downloads/lssvn/trunk/unstable@245 b72ed6b6-b9f8-46b5-92b4-906544132732
  • Loading branch information
jcleeland committed Apr 20, 2003
1 parent ccade49 commit 1a00309
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions admin/deletesurvey.php
Expand Up @@ -87,6 +87,8 @@
{
$asdel = "DELETE FROM answers WHERE qid={$dsrow['qid']}";
$asres = mysql_query($asdel);
$cddel = "DELETE FROM conditions WHERE qid={$dsrow['qid']}";
$cdres = mysql_query($cddel) or die ("Delete conditions failed<br />$cddel<br />".mysql_error());
}

$qdel = "DELETE FROM questions WHERE sid=$sid";
Expand Down

0 comments on commit 1a00309

Please sign in to comment.