mysql_real_escape_string
authorTed Guild <ted@w3.org>
Tue, 15 Oct 2013 14:04:48 -0400
changeset 25 2d9d04524c09
parent 24 056ef2be1351
child 26 34820e3011ef
mysql_real_escape_string
sharing/site.php
--- a/sharing/site.php	Sat Dec 03 22:21:56 2011 +0000
+++ b/sharing/site.php	Tue Oct 15 14:04:48 2013 -0400
@@ -36,7 +36,7 @@
   // escape string as SQL param
   function escape1($param)
   {
-    return $param;
+    return mysql_real_escape_string($param);
   }
 
   function site_info($host)