[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: www/areas/events/info/conference2006/registration
From: Marcus Furlong <furlongm () gmail ! com>
Date: 2006-09-01 15:08:29
Message-ID: 1157123309.822430.3998.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 579756 by furlongm:
disable updating of accommodation details if they already exist
M +9 -14 registration.php
--- trunk/www/areas/events/info/conference2006/registration/registration.php #579755:579756
@@ -172,31 +172,26 @@
$sql .= checkboxVal($_POST['att6']) . ", ";
$sql .= checkboxVal($_POST['att7']) . ", ";
$sql .= checkboxVal($_POST['att8']) . ", ";
- $sql .= checkboxVal($_POST['accom0']) . ", ";
- $sql .= checkboxVal($_POST['accom1']) . ", ";
- $sql .= checkboxVal($_POST['accom2']) . ", ";
- $sql .= checkboxVal($_POST['accom3']) . ", ";
- $sql .= checkboxVal($_POST['accom4']) . ", ";
- $sql .= checkboxVal($_POST['accom5']) . ", ";
- $sql .= checkboxVal($_POST['accom6']) . ", ";
- $sql .= checkboxVal($_POST['accom7']) . ", ";
- $sql .= checkboxVal($_POST['accom8']) . ", ";
+// $sql .= checkboxVal($_POST['accom0']) . ", ";
+// $sql .= checkboxVal($_POST['accom1']) . ", ";
+// $sql .= checkboxVal($_POST['accom2']) . ", ";
+// $sql .= checkboxVal($_POST['accom3']) . ", ";
+// $sql .= checkboxVal($_POST['accom4']) . ", ";
+// $sql .= checkboxVal($_POST['accom5']) . ", ";
+// $sql .= checkboxVal($_POST['accom6']) . ", ";
+// $sql .= checkboxVal($_POST['accom7']) . ", ";
+// $sql .= checkboxVal($_POST['accom8']) . ", ";
$sql .= "'" . addslashes($_POST['roommates']) . "', ";
$sql .= "'" . $token . "', ";
$sql .= "'" . $reference . "' )";
//echo "sql is $sql";
- $my_debug_text=$_POST['accom0'];
- echo "<p>123 $my_debug_text 456</p>";
$query = mysql_query($sql) or die("MySQL error: " . mysql_error());
}
}
if ($valid)
{
-$my_debug_text=$_POST['accom0'];
-echo "<p>123 $my_debug_text 456</p>";
-
$text = "
Thank you for registering for aKademy 2006 in Dublin, Ireland.
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic