comparison develop/classes/basemodel.php @ 46:b3ca5d2b4d3f extractapp

bug fix: edit and save regex. But a jquery issue in Chrome
author Zoe Hong <zhong@mpiwg-berlin.mpg.de>
date Mon, 16 Mar 2015 15:49:39 +0100
parents 3d6b8fb7335d
children
comparison
equal deleted inserted replaced
45:3d6b8fb7335d 46:b3ca5d2b4d3f
32 $db_selected = mysql_select_db($mysql_database, $link_mysql); 32 $db_selected = mysql_select_db($mysql_database, $link_mysql);
33 if (!$db_selected) { 33 if (!$db_selected) {
34 34
35 die ('Can\'t use foo : ' . mysql_error()); 35 die ('Can\'t use foo : ' . mysql_error());
36 } 36 }
37 $this->topic = 1; // set the default topic to person (人物) 37 $this->topic = 2; // set the default topic to product_name (物產)
38 } 38 }
39 39
40 protected function GetSQLValueString($theValue, $theType, $theDefinedValue = "", $theNotDefinedValue = "") { 40 protected function GetSQLValueString($theValue, $theType, $theDefinedValue = "", $theNotDefinedValue = "") {
41 $theValue = get_magic_quotes_gpc() ? stripslashes($theValue) : $theValue; 41 $theValue = get_magic_quotes_gpc() ? stripslashes($theValue) : $theValue;
42 42