diff options
Diffstat (limited to 'fixTable.php')
| -rwxr-xr-x | fixTable.php | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/fixTable.php b/fixTable.php new file mode 100755 index 0000000..c726ad9 --- /dev/null +++ b/fixTable.php @@ -0,0 +1,15 @@ +<?php
+include 'config.php';
+
+mysql_connect($host, $login, $pword) or die(mysql_error());
+mysql_select_db($db) or die(mysql_error());
+
+$table= $_GET["table"];
+$col=$_GET["col"];
+
+$query="UPDATE ".$table." SET ".$col."=REPLACE(".$col.", '\\\', '')";
+echo $query."<br>";
+echo mysql_query($query);
+mysql_close();
+
+?>
|
