gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] r627 - Extractor-docs/WWW


From: grothoff
Subject: [GNUnet-SVN] r627 - Extractor-docs/WWW
Date: Tue, 5 Apr 2005 23:20:23 -0700 (PDT)

Author: grothoff
Date: 2005-04-05 23:20:22 -0700 (Tue, 05 Apr 2005)
New Revision: 627

Modified:
   Extractor-docs/WWW/vote.php
Log:
fix

Modified: Extractor-docs/WWW/vote.php
===================================================================
--- Extractor-docs/WWW/vote.php 2005-04-06 06:13:36 UTC (rev 626)
+++ Extractor-docs/WWW/vote.php 2005-04-06 06:20:22 UTC (rev 627)
@@ -32,7 +32,7 @@
 $text = $_REQUEST['text'];
 $translation = $_REQUEST['translation'];
 $u = mysql_real_escape_string($text);
-$t = mysql_real_escape_string(to_unicode($translation));
+$t = /*mysql_real_escape_string*/(to_unicode($translation));
 
 $query = "SELECT ranking FROM map WHERE name=\"$u\" AND lang=\"$lang\" AND 
translation=\"$t\"";
 $result = mysql_query($query, $connection);
@@ -51,8 +51,8 @@
   W("Diagnostics:");
   P();
   echo "Text = " . $u . "<br>\n";
-  echo "T = " . $t . "<br>\n";
   echo "Translation = " . $translation . "<br>\n";
   echo "Unicode = " . to_unicode($translation) . "<br>\n";
+  echo "T = " . $t . "<br>\n";
  }
 ?>




reply via email to

[Prev in Thread] Current Thread [Next in Thread]